jQuery - AJAX load() method

The jQuery load() method is a simple but powerful AJAX method.

The load() method loads data from the server and places the returned data into the selected element.

 

grammar:

$(selector).load(URL,data,callback);

The required  URL  parameter specifies the URL you wish to load.

The optional  data  parameter specifies the set of query string key/value pairs sent with the request.

The optional  callback  parameter is the name of the function to execute after the load() method completes.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325089379&siteId=291194637