String toUpperCase
<HTML> <HEAD> <TITLE>Text Object Value</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function upperMe() { document.converter.output.value = document.converter.input.value.toUpperCase() } // --> </SCRIPT> </HEAD> <BODY> Enter lowercase letters for conversion to uppercase:<BR> <FORM NAME="converter"> <INPUT TYPE="text" NAME="input" VALUE="sample" onChange="upperMe()"><BR> <INPUT TYPE="text" NAME="output" VALUE=""> </FORM> </BODY> </HTML>