OBJECT.declare (Property)

A means of defining the object without activating it.

Availability:

DOM level - 1
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:NmyOBJECT.declare

Declaring an OBJECT in this way may be useful when referring to the object from elsewhere in the page or from within another object. Sometimes you simply want to know something about it, perhaps one of its parameters. For video players, sometimes its useful to instantiate the OBJECT into the display without playing the video right away.