jQuery - add additional parameters on submit (NOT ajax)
Posted
by Stacey
on Stack Overflow
See other posts from Stack Overflow
or by Stacey
Published on 2010-03-27T19:29:50Z
Indexed on
2010/03/27
19:33 UTC
Read the original article
Hit count: 122
jQuery
Using jQuery's 'submit' - is there a way to pass additional parameters to a form? I am NOT looking to do this with Ajax - this is normal, refresh-typical form submission.
$('#submit').click(function () {
$('#event').submit(function () {
data: {
form['attendees'] = $('#attendance').sortable('toArray').toString();
});
});
© Stack Overflow or respective owner