Answer» | S.no | synchronous | asynchronous |
|---|
| 1. | Synchronous or ( async: false ) script stops the program and waits for the server to send BACK a reply before continuing. | Asynchronous or ( async: exact) script ALLOWS the web page to continue to be processed and will handle the reply when and if it arrives. | 5. Explain the types of active states in Ajax? There are five types of active states available in AJAX. Here are those: - request not initialized - ready state 0
- server connection established - ready state 1
- request received - ready state 2
- processing request - ready state 3
- request FINISHED, and the response is ready - ready state 4
|