how we can restrict a character to type in a text box.
function isNumberKey1(evt) { var charCode = (evt.which) ? evt.which : event.keyCode; if ( char!=8(charCode < 65 || charCode > 106)) return false; return true; }