String toUpperCase : String : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » String »

 

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>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» String