Javascript Reference
Categories: OBJECT

javascript OBJECT object

@March 15, 2008, 1:22 a.m.
objectFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read-only  

Provides a reference to a wrapper around an object to allow access to document object model properties of the object element when the names may be confused with internal property naming of the object. For example, if the code loaded into an object element had a property named hspace, the script reference document.getElementById("reader").object.hspace would retrieve that internal property, rather than the hspace property of the HTML element. The object property wrapper tells the JavaScript interpreter to get the property from the HTML element without diving into the external object's code.

 
Example
 
var objCode = document.getElementById("reader").object.code;
 
Value

Object reference.

 
Default

None.


Powered by Linode.