force the input to upper case in html textbox while typing itself.?

shanmukhan

New member
Hi,

If I type 'a' in a textbox it should be converted into 'A' while i am typing.
'a' should not come into visibility.
The moment I type 'a' it should be displayed as 'A'.
(eg: if we take any indian local language editors if you type english alphabet it will be displayed in that language alphabet without displaying enghlish alphabet)

I need the code in html and javascript.

(all lowercase letters should be displayed as UPPERCASE letters.)

Please help me.

Thanks
B.Shanmukhan.
Thank you eskimo.....your answer is very good..
i have one more question, if I type 'B' it should be displayed as 'A'('B1'-1) like that for any alphabet. Is there any way to do this...
 
Back
Top