DOM Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

DOM

A

Document Object Model
Specifies how browsers should create a model of an HTML page and how JS can access and update the contents of a web page while it is in the browser window

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

DOM Parsing

A
loads entire page into memory
creates tree with all tags
can read or edit
slow
uses sax parsing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sax parsing

A
sequential API for XML parsing
pulls 1 line at a time into memory
goes sequentially through file
cannot edit
faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DOM Selection and Manipulation

A

To find elements, need to use the document object.

ex) document.getElementById

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

Event

A

Some occurrence in our client side environment, which we can respond to programmatically

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

Event Object

A

A JS representation of the most recent event that has fired

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

Event Listeners

A

Inline
Method
Long Form

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