by prettyscripts on 2007-12-08 00:41:00
to convert to upper case, add onChange to <input> and call oUpperCase() function:
<input type="text" onChange="javascript:this.value=this.value.toUpperCase();" />
to convert to lower case:
<input type="text" onChange="javascript:this.value=this.value.toLowerCase();" />
Tags: case, input, javascript