OBJECT.object (Property)

An accessor that yields a reference to the containing JavaScript object when there is a possibility of naming conflicts between internally visible and externally visible property names.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Object object
JavaScript syntax:IEmyOBJECT.object

If a property is a public property of the ActiveX object, and that name coincides with a property of the JavaScript object that is instantiated by the <OBJECT> HTML tag, then access to the property belonging to the containing object is difficult. This is because the search order will see the public property of the ActiveX object first. By using the object property, once can access the containing object explicitly and retrieve a property of that object even if there is an identically named property belonging to the enclosed ActiveX object.

This access mechanism applies to method invocations as well.

See also:Applet.object

Property attributes:

ReadOnly.