Hello can anybody tell me how i should enable user to enter only numeric value for html field telephone number. I have a one text field in which i have to enable user to enter only numeric value, means not allow him to enter alphbetics.If user press letter 'a' to 'z' or any extra character it should not display on text box.Please send me this code. Thanx sanjay Patel
I had gone through the link, that code works fine into IE but not with NS. please help me out if you know the code for both browser. Thanx sanjay patel
Yuriy Fuksenko
Ranch Hand
Joined: Feb 02, 2001
Posts: 413
posted
0
What you actualy wanna do, is handle onKeyPress event. It is different for IE 4/5, NS4 and NS6. Check out http://webreference.com/js/. (I don't want retype it.)