I would like to validate in javascript that the text entered in a field is a number.
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
posted
0
Lauren use this test if (isNaN(document.formName.fieldName.value)) if it returns true then the value in the field is not a number. hope that helps Dave [This message has been edited by Dave Vick (edited June 19, 2001).]
Dave
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.