JavaScript Tutorial/String/toLowerCase
string.toLowerCase()
The toLowerCase() method converts the characters to all lowercase values.
<html>
<script language="JavaScript">
<!--
var myString = new String(prompt("Please enter some various case text", ""));
document.write(myString.toLowerCase());
document.close();
-->
</script>
</html>