O'Reilly logo

AdvancED DOM Scripting: Dynamic Web Design Techniques by Aaron Gustafson, Jeffrey Sambells

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Document Object Model (DOM) scripting is often misrepresented as any sort of scripting on the Web, but pure DOM scripting includes only those features and methods incorporated into a W3C DOM specification—that means no proprietary browser features. In a perfect world, we could follow the standards, ignore proprietary features, and finish with an agnostic script that just works on any device. But it's not a perfect world—yet. As we all know, not all devices or browsers are W3C standards compliant, so where does that leave developers like us when we need to accommodate everyone, and how do we stay true to the W3C DOM?

When trying to answer those questions and deal with multiple browsers while maintaining proper DOM compliance, the idea ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required