Chapter 10. An Introduction to jQuery

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 ...

Get Front End Drupal: Designing, Theming, Scripting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.