XMLHttpRequest Question:
Download Questions PDF

How do we do asynchronous processing using Ajax?

XHR2 Interview Question
XHR2 Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is send(content)?What is Response Text?