function NumericKeyEvent(evt) {
var charCode = (evt.which != undefined) ? evt.which : evt.keyCode;
if((charCode >= 48 && charCode <= 57) || charCode == 8 || charCode == 46)
return true;
return false;
}
onkeypress="return NumericKeyEvent(event);
No comments:
Post a Comment