April 2009
Intermediate to advanced
456 pages
10h 37m
English
Chapter 9 introduced the Document Object Model (DOM); the DOM has also been mentioned earlier in this book. The DOM is the means used to access, create, manipulate, and delete parts of the Web page on which JavaScript is operating. It also allows the Web page to react to events that happen on the page, such as the user clicking on a certain element, moving the mouse, or typing letters. Furthermore, it provides an interface to some of the browser’s user interface (UI) elements (the chrome) and other status information, such as the screen resolution or the scroll bars.
The DOM is not specific to JavaScript, nor is it specific to certain browsers. Put simply, the DOM defines a certain way to do things with a ...
Read now
Unlock full access