I have a text input box that resets to blank when the user enters an alpha character, it also checks for the number 0 as it has to be greater than 0 too... when I submit the form it is blank the variable changes to blank (as I use parseInt to convert it to an integer at a later stage)
What can I do to check and see if it is NaN value?
(I've tried isNaN() and it did not do what I wanted it to)
What can I do to check and see if it is NaN value?
(I've tried isNaN() and it did not do what I wanted it to)
Comment