How do I access the array submit() calls in the dom?

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-01T15:11:30Z Indexed on 2010/05/01 15:17 UTC
Read the original article Hit count: 105

Filed under:
|
|

I want to grab all the inputs inside a form, in order to submit them. The point of this is to use jquery's ajax to submit a dynamically sized form. Surely there must be an array inside the dom somewhere which i can just do something like...
docment.forms['form'].elements which only lists inputs for that form, meaning I can loop through them and grab their values to play around with?

© Stack Overflow or respective owner

Related posts about html

Related posts about forms