O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required