Is it possible to use the isNaN()
function to check if textbox value is a number without listing each field? I tried the below coded and it does not work properly. It triggers my alert regardless of what is input.
var numberCheck = function() {
var i = this.value
if(isNaN(i)==true) {
alert("You must enter an number value!");
}
}