[thelist] js form validation problem - still not working
Karen J. Bowen
karen at miinx.com.au
Mon Jun 17 06:59:01 CDT 2002
Burhan Khalid wrote:
>>JS has the isNaN() function, which does the same thing. :)
>
> I read somewhere that isNaN() will only check the first digit. So,
> something like 45rs would pass.
> Let me see if I can find that resource...
No, that's not correct. isNaN checks the argument as a whole to see if
it's not a number. See
http://developer.netscape.com/docs/manuals/communicator/jsref/glob12.htm
> Well, its is 4 AM here, so my eyes may be playing tricks on me. (Checks
> Opera again). Yeap. Works.
heheh - don'tcha just love these ones that keep us up all night?
Am going to give your suggestion a try. Thanks again - you're a gem.
cheers,
Karen
More information about the thelist
mailing list