javascript-ajax Flashcards
What is AJAX?
Asynchronous JavaScript And XML; technique for loading data into page without having to refresh. It is a way to request data from server and display it asynchronously
What does the AJAX acronym stand for?
Asynchronous JavaScript And XML
Which object is built into the browser for making HTTP requests in JavaScript?
XMLHttpRequest
What event is fired by XMLHttpRequest objects when they are finished loading the data from the server?
the HTTP status and response
An XMLHttpRequest object has an addEventListener() method just like DOM elements. How is it possible that they both share this functionality?
EventTarget prototype exists in both; both descendants of the same class