[Javascript] is numberic??

Scott.Wiseman swiseman at remax-cahi.com
Mon Jun 17 15:11:54 CDT 2002


I just want numbers.
I want to strip away letters or anything other then a number

then I have to add this field check the other field for the same
criteria and add both to a total field

Scott


-----Original Message-----
From: Peter Brunone [mailto:peter at brunone.com]
Sent: Monday, June 17, 2002 1:14 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] is numberic??


Scott,

	What do you mean when you say it won't let you enter that?  What
does the
alert say?

Peter

|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of Scott.Wiseman
|
|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



More information about the Javascript mailing list