XMLHttpRequest Question:
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.
Previous Question | Next Question |
What is send(content)? | What is Response Text? |