16
Working with the DOM
You look mahvelous.
—Billy Crystal (his Saturday Night Live impression of Fernando Lamas)
A web site is defined as much by how it looks as by what it does. And Ajax raises the bar in the area of user interface and visual design. There is very much an expectation today that your site should look “mahvelous.” So any good Ajax library worth its salt should provide us lots of ways of improving the look of a site. Not only does Dojo provide many full-blown widgets, as we explored in Part II, “Dojo Widgets,” but it also provides techniques for working with individual DOM elements that may not even be part of a widget. This chapter explores ways of identifying DOM elements and then manipulating them in some way—usually by changing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access