What is the difference between synchronous and asynchronous in Ajax?
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. |
BY Best Interview Question ON 08 Mar 2020