javascript Attr ownerElement
@July 27, 2008, 8:53 a.m.
ownerElement | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
|
Read-only |
Refers to the element that contains the current attribute object. Until a newly created attribute is inserted into an element, this property is null. |
|
Example | |
if (myAttr.ownerElement.tagName == "fred") { // process attribute of |
|
Value | |
Default | |
null |
Permanent URL:
http://javascript.gakaa.com/attr-ownerelement.aspx
Powered by Linode.