Which readystate value indicates the response has been fully received from the asynchronous request?
Answer & Explanation
Correct Answer: 4 (readystate complete)
Note: This Question is unanswered, help us to find answer for this one
Sending asynchronous requests is a huge improvement for web developers. Many of the tasks performed on the server are very time consuming. Before AJAX, this operation could cause the application to hang or stop. so, what is the best way to be done by web developers when sending asynchronous requests?
Answer & Explanation
Correct Answer: execute other scripts while waiting for server response
Note: This Question is unanswered, help us to find answer for this one
AJAX applications are browser- and platform-dependent!
Answer & Explanation
Correct Answer: False
Note: This Question is unanswered, help us to find answer for this one
What happens if an Ajax call completes (and calls its callback function) when other JavaScript is currently running?
Answer & Explanation
Correct Answer: The Ajax callback function will be queued until the currently-running code completes
Note: This Question is unanswered, help us to find answer for this one
What is the value of the "status" attribute of the completed XMLHttpRequest object if the Ajax request has pulled the response data from the browser cache? Consider only non-IE browsers.
Answer & Explanation
Correct Answer: 200
Note: This Question is unanswered, help us to find answer for this one
What HTTP response header is expected in reply to a CORS request?
Answer & Explanation
Correct Answer: Access-Control-Allow-Origin
Note: This Question is unanswered, help us to find answer for this one
In non-IE browsers, what attribute should you check your XMLHttpRequest object for in order to see if it supports CORS?
Answer & Explanation
Correct Answer: withCredentials
Note: This Question is unanswered, help us to find answer for this one
What is the value of the .status attribute of the completed XMLHttpRequest object if the Ajax request needed to follow a server-side redirect before successfully finding the intended resource?
Answer & Explanation
Correct Answer: 200
Note: This Question is unanswered, help us to find answer for this one
What is the difference between the XMLHttpRequest object's .status and .statusText attributes?
Answer & Explanation
Correct Answer: .status returns a numeric-only code instead of the full HTTP response, which can be found in .statusText
Note: This Question is unanswered, help us to find answer for this one
Which property of the popstate event contains a copy of the history entry's state object?
Answer & Explanation
Correct Answer: state
Note: This Question is unanswered, help us to find answer for this one