javascript-ajax Flashcards
1
Q
What is AJAX?
A
loads data into a part of the page without having to refresh the entire page - asynchronous communication requests with other servers
2
Q
What does the 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
XMLHttprequest
4
Q
What event is fired by XMLHttpRequest objects when they are finished loading the data from the server?
A
load event
5
Q
An XMLHttpRequest object has an addEventListener() method just like DOM elements. How is it possible that they both share this functionality
A
it inherits the EventTarget prototype functionality which has the event listener function