Correct Answer: setRequestHeader
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Ajax Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Ajax MCQ Questions
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.
The onreadystatechange change event is used to invoke behavior when
If an Ajax request loads JSON-formatted responseText into the variable returnedData, what code will turn the data into a readable JSON object in modern browsers, including IE8 and above?
True or false? A GET request submitted through Ajax can never cause the server to delete data.
Ajax can be used to open a connection from the server to the browser without the browser making an explicit request.
By default, browsers do not support cross domain AJAX requests.
(function worker() { $.ajax({ url: 'ajax/test.html', success: function(data) { $('.result').html(data); }, complete: function() { setTimeout(worker, 5000); } }); })();
choose the option that shows the output to the console log
The readyState property in onreadystatechange event equal to 1 means ?
Choose the statement that best describes the role of the success ‘key’