Dear community,
I'm using ajax to submit a form:
$("#myform").submit(function() {
...
ajax("{{=URL("do_stuff", user_signature=True)}}", ["element1", "element2",
...], "target");
return false;
}
This works very well. However, when #myform has many elements or is
created/modified dynamically, naming all the elements explicitly in the
ajax-function is sometimes not an option anymore.
How can I just pass ALL form elements of the submitted form to the
controller-function? The otherwise excellent "book" says nothing on this
topic.
Best regards,
D.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.