Thursday, October 18, 2012

jquery ajax async calls

The async property can be used to control the behavior of the Ajax call placed from jQuery, it can take values either true or false. The default value for this property is true.

When set to true – The ajax call is made asynchronously, hence the user can continue working in the web application till the request is processed and returned from the server.

When set to false – The ajax call is made synchronously, hence the user interface is locked, the user cannot perform any other operation in the browser
    url: "AjaxData.aspx?ID=1&username=" + username + "&password=" + password,
    cache: false,
    dataType: "xml",

Related Post

jquery ajax status
jquery ajax status example
jquery ajax readyState
jquery ajax readyState example
jquery ajax caching
jquery ajax caching example
jquery ajax async
jquery ajax async example
jquery ajax authentication
jquery ajax authentication example

Search Flipkart Products:

No comments: