jQuery – add additional parameters on submit (NOT ajax)

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();
    });
});

6 Answers
6

Leave a Comment