JQuery Reading Notes --- Ajax in jQuery -- serialization elements, Ajax global events, jquery --- jquery
Serialize () method:
Acting on a jQuery object, it can serialize the content of DOM elements into strings for Ajax requests.
<! DOCTYPE html>
Ajax global events:
| Method Name |
Description |
| AjaxComplete (callback) |
Functions executed when the Ajax request is complete |
| AjaxError (callback) |
The function executed when an error occurs in an Ajax request. The caught error can be passed as the last parameter. |
| AjaxSend (callback) |
Functions executed before an Ajax request is sent |
| AjaxSuccess (callback) |
Functions executed when the Ajax request is successful |
Other highlights
JQuery tutorial (29)-jQuery plug-in development-Specify parameters for plug-in Methods jQuery tutorial (28)-jQuery plug-in development-jQuery tutorial (27) -jQueryajax-Modify default options jQuery tutorial (26)-ajax-use JSONP to load Remote Data jQuery tutorial (25)-security restrictions on ajax operations