JavaScript AJAX Flashcards
1
Q
What is AJAX?
A
AJAX is a technique for loading data into part of a page without having to refresh the entire page.
2
Q
What does AJAX acronym stand for?
A
Asynchronous JavaScript and XML
3
Q
Which object is built into the browser for making HTTP requests in JavaScript?
A
An XHR Object XMLHttpRequest
4
Q
What event is fired by XMLHttpRequests objects when they are finished loading the data from the server?
A
The load event
5
Q
Bonus Question: An XMLHttpRequest object has an addEventListener() method just like DOM elements. How is it possible that they both share this functionality?
A
Because prototypal inheritance