I am writing javascript (greasemonkey / userscript) that inserts some input fields into a form on a website.
The fact is that I do not want these input fields to influence the form in any way, I do not want them to be submitted when the form is submitted, I want my javascript to have access to their values.
Is there a way to add some input fields to the middle of the form and not send them when submitting the form?
Obviously, the ideal thing for input fields would not be in the form element, but I want the layout of my final page to have my inserted input fields between the elements of the original form.
javascript html forms userscripts
Acorn Jun 09 '10 at 16:58 2010-06-09 16:58
source share