How to restrict user from entering Numbers (0-9) inside textbox Field
$("#TextBoxID").keypress(function (e) {
if (e.which >= 65 && e.which <= 90 || e.which >= 97 && e.which <= 122) {
}
else return false;
});
I hope it was informative for you and I would like to thank you for reading.
$("#TextBoxID").keypress(function (e) {
if (e.which >= 65 && e.which <= 90 || e.which >= 97 && e.which <= 122) {
}
else return false;
});
I hope it was informative for you and I would like to thank you for reading.
No comments:
Post a Comment