Basically the process would consist of:
(1) grabbing the values set by the user in the form and assembling them in a manner suitable for a POST request (or GET request if you are using that)
(2) sending the data off to the server via AJAX
(3) getting a response back from the server and reacting to it.
Which of these gives you a problem? I don't mind helping but I really hate going into detail about something that the person already knows and understands.
And also, after this reply I am going down to sleep. Any reply might not be speedy.