Q:

Build querystring automatically to send form via ajax

I need to send a complete form via ajax to prevent the refresh of the complete page. Since the  form has a huge number of inputfields, i dont want to build the querystring manually. I found some scripts collecting all elements in the form and building the querystring automatically. But is there any easier way to build the query string automatically?

A:

using serialize() method of your jquery form wrapper object !
see : http://api.jquery.com/serialize/

