radha1 Posted June 5, 2010 Share Posted June 5, 2010 what is the synchronous and asynchrnous in ajax? give me the examples plz? Link to comment Share on other sites More sharing options...
jeffman Posted June 5, 2010 Share Posted June 5, 2010 Synchronous communication means that your user cannot interact with your page until the download is complete. The user will not be able to push buttons. No other javascript functions can be triggered.Asynchronous communication operates in a separate thread. The browser gives some cycles per second to the asynchronous thread and keeps some cycles, so that other processes continue to run. This allows AJAX to run "in the background." The user can still interact with the document. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.