JQuery AJAX method
AJAX is a technique for exchanging data with a server that can be updated as part of a Web page in addition to the entire page.
The following table lists all of the JQuery AJAX methods:
Method |
Description |
$.ajax () |
Performing asynchronous AJAX requests |
$.ajaxprefilter () |
Handle custom AJAX options or modify existing options before each request is sent and processed by $.ajax () |
$.ajaxsetup () |
Set default values for future AJAX requests |
$.ajaxtransport () |
Create an object that handles the actual transfer of AJAX data |
$.get () |
Loading data from the server using an AJAX HTTP GET request |
$.getjson () |
Loading JSON-encoded data from the server using an HTTP GET request |
$.getscript () |
Use AJAX HTTP GET requests to load and execute JavaScript from the server |
$.param () |
Creates a serialized representation of an array or object (URL query string that can be used for AJAX requests) |
$.post () |
Loading data from the server using an AJAX HTTP POST request |
Ajaxcomplete () |
A function to run when an AJAX request is completed |
Ajaxerror () |
Functions that run when an AJAX request fails |
Ajaxsend () |
A function that specifies that the AJAX request is to be sent before |
Ajaxstart () |
Specifies the function that runs at the start of the first AJAX request |
Ajaxstop () |
Specifies the functions that are run when all AJAX requests are completed |
Ajaxsuccess () |
A function that specifies that the AJAX request runs when it completes successfully |
Load () |
Load data from the server and place the returned data in the specified element |
Serialize () |
Encodes a FORM element set as a string for submission |
Serializearray () |
An array of encoded form elements set to names and values |
JQuery AJAX method