I am trying to use ajax and jQuery to send the data submitted in a form to the server and retrieve the response form the server and serve it up on the webpage again. What method should I be using do accomplish this?
I am not sure if I should use $.get()
or $.ajax()
or if I should be using any other of the methods on the jQuery API.
Could someone please shed some light on this question?
Thanks.