CHAPTER 6Manipulating the DOM with JavaScript

JavaScript can do much more than just insert HTML into some portion of a page. Through the use of events, the Cascading Style Sheets (CSS) classes applied to elements of a page can be easily modified to yield much more sophisticated applications. If used wisely, simple manipulations yield a much improved user experience.

The items covered in this chapter are

Image The Document Object Model (DOM) structure

Image JavaScript events and event location detection

Detecting DOM element display locations and sizes

JavaScript/CSS ...

Get Oracle Database Ajax & PHP Web Application Development 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.