• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter SATURDAY AFTERNOON. Using JavaSc... > Working with Browser-Based Objects

Working with Browser-Based Objects

When an HTML page loads a browser such as Netscape Communicator or Internet Explorer, the browser defines a collection of objects based on the content it finds on the page. These objects are created in a top-down order as the page is loaded. As the browser builds the object references, it does so in a hierarchical fashion.

The object organizational hierarchy for a given browser is known as its object model. In the early days of Internet browser development, there were many differences in the object models provided by various browsers. In addition, as companies such as Microsoft and Netscape improved their browsers over the years, they continued to add new features and support for new objects. As a result, JavaScripts that were designed to be processed by the latest version of either of these two browsers often didn’t work with older browsers, which even today are still used by many people. Even worse, you couldn’t count on your JavaScripts running the same way when executed by Internet Explorer or Netscape Communicator. All this made for a very confusing situation.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint