Document Objects

This section covers the Document object and all of its related objects.

Anchor

Description: This object specifies a place in a document that is a target for a hypertext-link.

Syntax for creating: This is created by using the HTML <a> tag or calling the String.anchor method.

Implemented in: Navigator 2.0/4.0

Properties: name, text, x, y

Methods: This object inherits the watch and unWatch methods from Object.

Applet

Description: This object contains any Java applets contained within an HTML page.

Syntax for creating: NA

Created by: the HTML applet tag

Implemented in: Navigator 3.0

Properties: All of the public properties of the applet are available through the object.

Methods: all public methods

Area

Description: This object represents ...

Get Essential JavaScript™ for Web Professionals, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.