jQuery AJAX methods


jQuery AJAX Method


jQuery AJAX Method

AJAX is a technology for exchanging data with the server that can be added throughout the page without updating part of the web page.

The following table lists all jQuery AJAX methods:

MethodDescription
$.ajax()Perform asynchronous AJAX requests
$.ajaxPrefilter()Before each request is sent and is $ .ajax() Before processing, process custom Ajax options or modify existing options
$.ajaxSetup()Set default values ​​for future AJAX requests
$.ajaxTransport()Create an object that handles the actual transmission of Ajax data
$.get()Use AJAX's HTTP GET request to load data from the server
$.getJSON()Use HTTP GET request to load JSON-encoded data from the server
$.getScript()Load and execute JavaScript from the server using an HTTP GET request with AJAX
$.param()Create a serialized representation of an array or object (URL query string that can be used for AJAX requests)
$.post()Using AJAX HTTP POST request loads data from the server
ajaxComplete()Specifies the function to be run when the AJAX request is completed
ajaxError( )Specifies the function to be run when the AJAX request fails
ajaxSend()Specifies the function to be run before the AJAX request is sent
ajaxStart()Specifies the function to be run when the first AJAX request starts
ajaxStop()Specifies all The function that runs when the AJAX request is completed
ajaxSuccess()Specifies the function that runs when the AJAX request completes successfully
load ()Load data from the server and place the returned data into the specified element
serialize()The set of encoded form elements is String for submission
serializeArray()Encode the set of form elements into an array of names and values