JavaScript Reference/Javascript Methods/toUpperCase
"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()