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.