In this tutorial , jQuery 'serialize' method is implemented to create query for set of form elements. The 'serialize' method create URL in standard URL-encoded notation. It could be sent to a server in an Ajax request.
When you will fill the form , the query would be like :
Recommend the tutorial