Friday, November 2, 2012

jQuery Get Method

jQuery provides various methods like ajax, load, get, post, getJSON, getJSON etc  to make an Ajax call. In this post we shall see on how to use the get() method to make an Ajax call.

The get() method is used to send HTTP GET requests to the server, this method can process the response data from the server in any of the following formats.

HTML
XML
JSON
Text

The Syntax for the get() method is as follows.

$.get("<server page>",successHandlerFunction());

Search Flipkart Products:
Flipkart.com

No comments: