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