I am using the following style attribute to set the user input to uppercase so that when the user starts typing in the text box for example railway
, then it should be altered to capital letters like RAILWAY
without the user having to press the Caps-lock button.
This is the code I am using for the input:
<input type = "text" class = "normal" name = "Name" size = "20" maxlength = "20"> <img src="../images/tickmark.gif" border="0" style='text-transform:uppercase'/>
But I am not getting the desired output by using this attribute.