How Much Power Does It Give Me?
The power the Document Object Model provides to the Web developer is huge. However, one problem does exist. One thing that Web developers need to leverage the Document Object Model is a good working knowledge of scripting, in particular, JavaScript.
This is because the Document Object Model is just a representation of the Web page itself, and in its own right it can't do anything by itself. It's very similar to variables. They hold some value or other, but without more JavaScript, they do nothing.
The latest incarnation of the Document Object Model provides four key innovations (or Web developer magical powers if you prefer):
Access to all the elements on the page
Instant page updating
A full and comprehensive event ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access