DOM 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
2
Q
DOM Parsing
A
loads entire page into memory creates tree with all tags can read or edit slow uses sax parsing
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
4
Q
DOM Selection and Manipulation
A
To find elements, need to use the document object.
ex) document.getElementById
5
Q
Event
A
Some occurrence in our client side environment, which we can respond to programmatically
6
Q
Event Object
A
A JS representation of the most recent event that has fired
7
Q
Event Listeners
A
Inline
Method
Long Form