Test Your Knowledge
Why is it necessary to write a function for creating new
XMLHttpRequestobjects?What is the purpose of the
try...catchconstruct?How many properties and how many methods does an
XMLHttpRequestobject have?How can you tell when an Ajax call has completed?
How do you know whether an Ajax call completed successfully?
What property of the
XMLHttpRequestobject returns an Ajax text response?What property of the
XMLHttpRequestobject returns an Ajax XML response?How can you specify a callback function to handle Ajax responses?
What
XMLHttpRequestmethod is used to initiate an Ajax request?What are the main differences between an Ajax
GETandPOSTrequest?
See Chapter 17 Answers in Appendix A for the answers to these questions.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access