To convert a string to lower case, use the toLowerCase method.
Code:
<script type="text/javascript"> //<![CDATA[ mixed_string = "New York"; var lower_string = mixed_string.toLowerCase(); document.write(lower_string); //]]> </script>
Output: