javascript styleSheet ownerNode
@March 15, 2008, 1:22 a.m.
ownerNode | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
Read-only | |
Returns a reference to the document tree node that contains the styleSheet object. This node is either a style or link element, depending on the way the style sheet is defined in the document. The IE (Windows and Mac) equivalent property is owningElement. IE for the Macintosh provides an extra owningNode property, which is very likely a mistaken implementation of the W3C DOM ownerNode property. |
|
Example | |
var mama = document.styleSheets[2].ownerNode; |
|
Value | |
Object reference. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/stylesheet-ownernode.aspx
Powered by Linode.