JS AJAX Flashcards
1
Q
What is AJAX?
A
Is a technique for loading data into part of a page without having to refresh the entire page.
2
Q
What does the AJAX acronym stand for?
A
Asynchronous JavaScript And XML (xml is precursor to JSON)
3
Q
Which object is built into the browser for making HTTP requests in JavaScript?
A
XMLHttpRequest
4
Q
What event is fired byXMLHttpRequestobjects when they are finished loading the data from the server?
A
‘Load’ event
5
Q
AnXMLHttpRequestobject has anaddEventListener()method just like DOM elements. How is it possible that they both share this functionality?
A
They share a prototype. Both are chained to the EventTarget Prototype