XMLHttpRequest Question:

How do we do asynchronous processing using Ajax?

Tweet Share WhatsApp

Answer:

xmlHttpObj.onreadystatechange = function1();

Above is the code snippet, which will help us to do asynchronous processing. So function1 () will be called when the XMLHTTP request object goes to on ready state change.

Download XHR2 PDF Read All 28 XHR2 Questions
Previous QuestionNext Question
What is send(content)?What is Response Text?