Inline Javascript way to make a textbox always UpperCase

Category : JQuery/JScript

onBlur=”javascript:this.value=this.value.toUpperCase();”

Of course, this could be done the opposite way with .toLowerCase();

This forces the textbox to all upper case as the user leaves, works well.

Post a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word