Section 4.1. Need a dynamic application?


4.1. Need a dynamic application?

Here's the application you'll be building a little later in this chapter.

The DOM lets you look at this web page...

...in this format.

4.1.1. Use the Document Object Model.

The web browser uses the Document Object Model to represent your web page. When you change this model with your JavaScript code, the web page will automatically change, too.

                                         body                div         div         div          div               img   img    img  img  img    div Your JavaScript can work               with the DOM much easier than working directly with HTML or CSS.   




Head Rush Ajax
Head Rush Ajax (Head First)
ISBN: 0596102259
EAN: 2147483647
Year: 2004
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net