JavaScript Reference/Javascript Methods/toUpperCase
Версия от 18:30, 25 мая 2010; (обсуждение)
"toUpperCase()" Example
<html>
<body>
<button onclick="var myS = new String("Sample String"); alert(myS.toUpperCase());">
convert "Sample String" to uppercase
</button>
</body>
</html>
"toUpperCase()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |String |
+----------------+--------------------------------------------------------------+
"toUpperCase()" Syntax Parameters and Note
Note:
Converts a String to uppercase.
Syntax:
stringName.toUpperCase()