[Javascript] is numberic??

Trey H tutwabee at hotmail.com
Mon Jun 17 15:27:22 CDT 2002


It may ignore the "dd" in the string and think the number you meant was 
1144.  I think Perl does this so JavaScript may too.

====================================
Trey: tutwabee at hotmail.com
Get free JavaScripts at the Blue Dragon!
Just go to:
http://www.websiter.biz
====================================
Make money by being online:
http://www.degoo.com/index.php?refid=tutwabee
===================================
Earn free traffic for your website easily:
http://tools.addme.com/servlet/popview?id=52260
====================================


>From: "Scott.Wiseman" <swiseman at remax-cahi.com>
>Reply-To: javascript at LaTech.edu
>To: "'javascript at LaTech.edu'" <javascript at LaTech.edu>
>Subject: [Javascript] is numberic??
>Date: Mon, 17 Jun 2002 12:56:26 -0700
>
>I have tried the
>
>alert ( isNaN(parseInt(window.document.myform.RMList.value)) );
>
>to figure this out.
>
>but it will allow me to enter this "11dd44"
>this is not a number
>
>so what gives?
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript






_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the Javascript mailing list