function prevent_number(event) { var charcode = (event.which) ? event.which : event.keycode if (charcode >31 &&(charcode<48||charcode >57)) { alert('please enter only number '); return false; } else { return true ; } }
charcode >31
if (charcode<48 || charcode >57)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)