Setting up Ajax with ASP.NET using jQuery
This recipe demonstrates the use of the $.ajaxSetup()
function to configure global settings for making Ajax calls on a web page. These settings will be used across multiple Ajax calls. The constructs used in this example are summarized in the following table:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects an element based on its ID |
|
jQuery function |
This posts an Ajax request to the server with the set options. |
|
jQuery function |
This sets up default values for Ajax requests. |
|
jQuery method |
This inserts content at the end of each matched element. |
|
jQuery event |
This is fired when you click on an element. It corresponds to the JavaScript |
|
jQuery method |
This iterates over the matched elements and executes a function for each element. |
|
jQuery method |
This prevents the default action of the event from being triggered... |