Can you serialize multiple forms into one so that only one post or ajax request is made? I have searched around and it is all for submiting each form separently via post/ajax.
If you run $('form').serialize() on a page with multiple forms, it will correctly serialize all the forms into one string.
$('form').serialize()
To include only certain forms, use $('#form1, #form2').serialize()
$('#form1, #form2').serialize()
1.4m articles
1.4m replys
5 comments
57.0k users