[jQuery] Best practice for form serialize?
I have a web page with two forms on it. It originally used Prototype
and I would like to convert it to jQuery.
The main form has text, checkboxes, radio buttons, etc.
I want to watch the form and if any form element changes I want to
serialize the entire form and post it to a URL, receive the result and
show it in a DIV.
Basically I will be using this form to return a "live" search result
total so that the user can see how many results will be returned with
certain search form choices.
I have viewed many different tutorials both with and without plugins.
I am posting here in hopes that the experts on this forum can point me
in the right direction. Should I use plugins and if so which ones?
Here are a couple of my requirements:
1. I need to be able to reference only the one form. There may be
multiple forms on the page.
2. I need to watch all the elements for change which includes
checkboxes and radiobuttons.
3. I would like the page to load as quickly as possible.
4. When i serialize the form to submit it for the live results, I need
all the form elements to post correctly including the checkboxes.
Thanks in advance.