The jQuery.get( url, [data], [callback], [type] ) method loads data from the server using a GET HTTP request.
url − A string containing the URL to which the request is sent
data: − This optional parameter represents key/value pairs that will be sent to the server.
callback: − This optional parameter represents a function to be executed whenever the data is loaded successfully.
type: − This optional parameter represents type of data to be returned to callback function: "xml", "html", "script", "json", "jsonp", or "text".
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать