XMLHttpRequest Question:
Download Job Interview Questions and Answers PDF
How do we do asynchronous processing using Ajax?
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.
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 Question | Next Question |
What is send(content)? | What is Response Text? |