Amie Kasahara
Sunday, December 18, 2011
Javascript - answer is NaN?
The value of any HTML element will always be a string. You will need to convert it to a number (integer or float). Try the parseInt(field.value) function.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment