Ajax methods
We can retrieve information from the server without requiring a page refresh by calling one of these Ajax methods. Ajax methods are discussed in detail in Chapter 6, Sending Data with Ajax.
Issuing requests
Ajax method |
Description |
---|---|
|
Makes an Ajax request using the provided set of options. This is a low-level method that is often called via other convenience methods. |
|
Makes an Ajax request to |
|
Makes an Ajax request to |
|
Makes an Ajax request to |
|
Makes an Ajax request to |
|
Makes an Ajax request to |
Request monitoring
Ajax method |
Description |
---|---|
|
Binds
|
|
Binds |
|
Binds
|
|
Binds |
|
Binds
|
|
Binds |
Configuration
Ajax method |
Description |
---|---|
|
Sets default options for all subsequent Ajax transactions. |
|
Modifies the options on each Ajax request before it is processed by |
|
Defines a new transport mechanism for Ajax transactions. |
Utilities
Ajax method |
Description |
---|---|
|
Encodes the values of a set of form controls into a query string. |
|
Encodes the values of a set of form controls into a JavaScript data structure. |
|
Encodes an arbitrary object of key-value pairs into a query string. |
|
Evaluates the given JavaScript string in the global context. |
|
Converts the given JSON string into a JavaScript object. |
|
Converts the given XML string into an XML document. |
|
Converts the given HTML string into a set of DOM elements. |