Wednesday, 21 August 2013

How to have a form submit a perimeter value for a javascript function?

How to have a form submit a perimeter value for a javascript function?

I am looking to have the input of a form submit a perimeter value to a
javascript function and have the function called once the submit button is
clicked. I have limited knowledge on how to approach this so any help is
greatly appreciated. P.S. I had to take off the opening bracket to the
submit button so everything will display.
<input type="text" name="name" id="numbervalue" value="value" />
input type="submit" value="submit" onsubmit="numbervalue()">

No comments:

Post a Comment