Why is AJAX called asynchronous? How does it accomplish communication asynchronously with the server?
Why is AJAX called asynchronous? How does it accomplish communication asynchronously with the server?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s asynchronous in that it doesn’t lock up the browser. If you fire an Ajax request, the user can still work while the request is waiting for a response. When the server returns the response, a callback runs to handle it.
You can make the
XMLHttpRequestsynchronous if you want, and if you do, the browser locks up while the request is outstanding (so most of the time this is inappropriate)