Friday, 9 April 2010

Some Important Tips on Ajax

By default in a open method, you found something like this:
open("GET",url,false);

method: the type of request: GET or POST
url: the location of the file
boolean: true (asynchronous) or false (synchronous)

Here last parameter is false it means process will be synchronous.

To make process Asynchronous, make true instead of false.

Cheers!

No comments:

Post a Comment