javascript-ajax Flashcards
What is AJAX?
AJAX is Asynchronous JS and XML which allows complex, dynamic webpages using XMLHttpRequests
What does the AJAX acronym stand for?
Stands for Asynchronous JS and XML
Which object is built into the browser for making HTTP requests in JavaScript?
XMLHttpRequest objects allow HTTP requests and are built into the browser
What event is fired by XMLHttpRequest objects when they are finished loading the data from the server?
The “load” event
An XMLHttpRequest object has an addEventListener() method just like DOM elements. How is it possible that they both share this functionality?
It is possible that they share inheritance of a prototype ancestor, or belong to part of the same prototype chain.