JavaScript toLowerCase() 方法

定义和用法
toLowerCase() 方法用于把字符串转换为小写。
语法
string.toLowerCase()
浏览器支持
所有主要浏览器都支持 toLowerCase() 方法
实例
实例
把字符串转换为小写:
<script>
var str="Hello World!";
document.write(str.toLowerCase());
</script>
var str="Hello World!";
document.write(str.toLowerCase());
</script>
