Programming Languages AJAX Subjective
Apr 03, 2013

What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax?

Detailed Explanation

i) onreadyStateChange - This function is used to process the reply from the web server.
ii) readyState - This property holds the response status of the web server. There are 5 states:
1 - request not yet initialized
2 - request now set
3 - request sent
4 - request processing
5 - request completes

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback