Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

test the content of input type="text"

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
hi all,
is there a way to test if my input type="text" contains only float before to submit the form ? Best regards X-),
Elise
 
don't know about checking for float, specifically, but look into the javascript function, isNAN() to check to make sure something is numeric.

And if you don't know of a good quick ref, check out -- javascript section. It's great.

:)
Paul Prewett
 
well thanks i gonna have a look at this and will let you know the final answer :eek:) Best regards X-),
Elise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top