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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.