O'Reilly logo

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition by Tom Negrino, Dori Smith

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

Chapter 17. Manipulating Nodes

Node manipulation is a way for the standards-compliant browsers to support Web pages that act more like applications than the standard, static pages that you're used to. For instance, you can have forms that change based on what answers you enter, or pages that show different data based on user cookies. This is considerably more powerful than the simple document.write() statements we've seen earlier in this book, not just because it can update the page as the user goes along (versus just once when the page is rendered), but because it can also be used to delete and move existing data on the page. And while this can be done with server-side CGIs, it's only with JavaScript that we 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