I have a form with several text objects in which the user can freetype. I am converting them to uppercase with an onchange event as shown below. My question: is there a simple way to also strip out any special characters either onchange or onblur?
Code:
+ '<tr><td align=left nowrap><strong>First Name,MI</strong>'
+ '<td colspan=3><input type=text name=firstname value="' + CurrentDep.first_name
+ '" size=12 maxlength=12 onFocus=this.select() onChange="javascript:this.value=this.value.toUpperCase();">'