InterviewSolution
| 1. |
What are synchronous requests in AJAX? |
|
Answer» XMLHttpRequest can render both synchronous and asynchronous COMMUNICATIONS for AJAX. In AJAX, synchronous requests are those requests where the JavaScript will stop processing the DEVELOPER's program until it receives a result from the server. In this situation, when the application processes such synchronous requests, the browser remains frozen effectively. Hence, developers should carefully CONFIGURE such requests, MAKING the server respond to the user ACCORDING to the requirement. Synchronous requests remain in a waiting state for the server response after requesting to continue with the next script execution. |
|