Ajax MCQ Test: Ajax MCQs - Practice Questions
1. Which method is used to initiate an Ajax request in JavaScript?
2. What is the purpose of the 'crossOrigin' property in the 'Image' object in Ajax?
3. In Ajax, what is the purpose of the 'async' attribute in the 'script' tag?
4. What is the purpose of the 'Preflight request' in Ajax?
5. In Ajax, what does the term 'cross-origin' refer to?
6. What role does the 'onreadystatechange' event play in Ajax?
7. In Ajax, what does the term 'serialization' refer to?
8. Which JavaScript function is commonly used to handle errors in Ajax?
9. What does the term 'preflight request' mean in the context of Ajax?
10. Which method is used to cancel an ongoing Ajax request?