Javascript-Ajax-Q&A Flashcards

1
Q

What is AJAX?

A

AJAX was an acronym for the technologies used in asynchronous requests like this
To update the page without having to refresh

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

What does the AJAX acronym stand for?

A

Asynchronous JavaScript And XML. Since then, technologies have moved on and the term Ajax is now used to
refer to a group of technologies that offer asynchronous ·functionality in the browser.

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

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

A

XMLHttpRequest

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

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

A

the load event occurs

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

Prototypes (EventTarget.)

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