jQuery Reference Manual - Ajax
- Previous Page jQuery CSS Operations
- Next Page jQuery Traversal
jQuery Ajax operation functions
The jQuery library has a complete Ajax compatibility suite. The functions and methods allow us to load data from the server without refreshing the browser.
Function | Description |
---|---|
jQuery.ajax() | Execute asynchronous HTTP (Ajax) requests. |
.ajaxComplete() | Register the handler to be called when the Ajax request completes. This is an Ajax event. |
.ajaxError() | Register the handler to be called when the Ajax request completes and an error occurs. This is an Ajax event. |
.ajaxSend() | Display a message before the Ajax request is sent. |
jQuery.ajaxSetup() | Set default values for future Ajax requests. |
.ajaxStart() | Register the handler to be called when the first Ajax request completes. This is an Ajax event. |
.ajaxStop() | Register a handler to be called when all Ajax requests are completed. This is an Ajax event. |
.ajaxSuccess() | Display a message when the Ajax request is successfully completed. |
jQuery.get() | Use HTTP GET request to load data from the server. |
jQuery.getJSON() | Use HTTP GET request to load JSON-encoded data from the server. |
jQuery.getScript() | Use HTTP GET request to load a JavaScript file from the server and then execute the file. |
.load() | Load data from the server, then put the returned HTML into the matching element. |
jQuery.param() | Create a serialized representation of an array or object, suitable for use in URL query strings or Ajax requests. |
jQuery.post() | Use HTTP POST request to load data from the server. |
.serialize() | Serialize form content to a string. |
.serializeArray() | Serialize form elements and return JSON structured data. |
See
Tutorial:Ajax Tutorial
- Previous Page jQuery CSS Operations
- Next Page jQuery Traversal