You want to update the following element with the XMLHttpRequest status.
Which of the following approaches is correct for the purpose?
<div id="statusCode"></div>
Correct Answer: var myDiv = document.getElementById ("statusCode"); myDiv.innerHTML = req.status;
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ajax MCQ Questions