Referencing Web Browser Objects

After the objects have been included in your HTML documents, you need only to know how to reference them to access them from your JavaScripts. Objects supplied by Java applets, plug-in content, and ActiveX controls fit into the same Web browser object hierarchy discussed in Chapter 19. To use them, you must know where they fit.

→ To learn about the object hierarchy, see "Web Browser Object Hierarchy and Scoping,"

You can access these Web browser objects in many ways, depending on how they are included in your HTML documents. Objects exposed through the <applet> element can be accessed through the applet object. Plug-ins called by the <embed> element can be accessed through either the embed or the plugin object. ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.