If your database is expecting a numeric value, this function will validate
its numericness. I have a couple of functions that checks for numbers.
This one allows you to modify the alert() message specifically for a
field.
function IsNumeric(inputVal,sErrorMsg) {
if (isNaN(parseFloat(inputVal))) {
alert(sErrorMsg)
return false;
}
return true
}
Find the latest information on the Enron Trial at EnronOffline, the once-a-day wrap up.