The toUpperCase() method converts the characters to all uppercase values.
<html>
<script language="JavaScript">
<!--
var myString = new String(prompt("Please enter some various case text", ""));
document.write(myString.toUpperCase());
document.close();
-->
</script>
</html>