Hi, I'm new to this forum but i think (hope!) my question should quite straightforward. I am designing a web page where customers enter data. I want to validate one of the fields using javascript to ensure that only numeric data is entered.
In VBScript I would write something like:
I am hoping there is something similar to the "IsNumeric" function in Javascript, although I haven't uncovered one yet....
Many thanks in advance for any thoughts or advice
In VBScript I would write something like:
Code:
If IsNumeric(strData) then
do something
else
do something else
end if
I am hoping there is something similar to the "IsNumeric" function in Javascript, although I haven't uncovered one yet....
Many thanks in advance for any thoughts or advice