javascript-ajax Flashcards

1
Q
  1. What is AJAX
  2. What does AJAX acronym stand for

Which object is built into the browser for making HTTP requests in JavaScript?

A
  1. one of many techniques to load data into a website without having to refresh the entire page. (asynchronous processing model).

way of making asynchronous way of communicating with another computer

  1. Asynchronous JavScript and XML.
  2. XMLHttpRequest (this is a class)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What event is fired by XMLHttpRequest objects when they are finished loading the data from the server?

A

Load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
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

Share prototype

How well did you know this?
1
Not at all
2
3
4
5
Perfectly