O'Reilly logo

Visual QuickStart Guide: JavaScript, Ninth Edition by Dori Smith, Tom Negrino

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

10. Objects and the DOM

Node manipulation is the W3C-recommended way for standards-compliant browsers to support webpages that act more like applications than like standard, static pages. For instance, you can create pages that change—without hitting the server—based on a user’s entries. You can also update pages under script control. Although you can use techniques like innerHTML, as we’ve done elsewhere in this book, here we show the officially supported approach. True, this can be done on the server side, but it’s only with JavaScript that you can provide this functionality without ...

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