hi i have a page having text box. in that i should not allow user to go to next page unless he enters some NUMBER. it should number but not text and should not be empty , any help pls?
views:
57answers:
2
+4
A:
Try this:
isNaN(yourText.value)
return true if its Not a Number
Rubens Farias
2009-10-14 14:33:36
thanks Rubens Farias
Sunny Mate
2009-10-14 18:40:52
A:
The title references checking for null, so you might also want to look at the null object in javascript.
Michael Paulukonis
2009-10-14 16:51:06