function NumberOnly()
{
var charCode = event.keyCode;
if ((charCode > 31 && (charCode < 48 || charCode > 57 || charCode == 46))
&& ((charCode == 37 || charCode > 47) && (charCode < 48 || charCode > 58 || charCode == 46)))
{
return false;
}
return true
}
Comments
Post a Comment