字符转换大写:
<script type="text/javascript">
var str="Hello world!";
document.write(str.toUpperCase());
</script>
字符转换小写:
<script type="text/javascript">
var str="Hello world!";
document.write(str.toLowCase());
</script>
字符转换大写:
<script type="text/javascript">
var str="Hello world!";
document.write(str.toUpperCase());
</script>
字符转换小写:
<script type="text/javascript">
var str="Hello world!";
document.write(str.toLowCase());
</script>