ownerDocument
Value: Document object reference
Compatibility: WinIE6+, MacIE5+, Moz1+, Safari1+
The ownerDocument property belongs to any element or node in the W3C DOM. The property’s value is a reference to the document node that ultimately contains the element or node. If a script encounters a reference to an element or node, the object’s ownerDocument property provides a way to build references to other objects in the same document or to access properties and methods of the document objects.
Example:
document.body.childNodes[5].ownerDocument
The result is a reference to the document object. You can use that to inspect a property of the document,
document.body.childNodes[5].ownerDocument.URL
This returns the document.URL property for the document that owns the child node.
Related Item: document object.
2 Responses to “ownerDocument”
Leave a Reply
You must be logged in to post a comment.

July 15th, 2010 at 9:06 pm
Buy:100% Pure Okinawan Coral Calcium.Arimidex.Synthroid.Zyban.Prednisolone.Lumigan.Accutane.Human Growth Hormone.Zovirax.Prevacid.Actos.Nexium.Mega Hoodia.Retin-A.Valtrex.Petcam (Metacam) Oral Suspension….
July 21st, 2010 at 8:04 am
Buy:VPXL.Cialis Soft Tabs.Cialis Professional.Soma.Viagra Soft Tabs.Maxaman.Super Active ED Pack.Viagra Professional.Cialis Super Active+.Cialis.Zithromax.Viagra Super Active+.Tramadol.Viagra.Viagra Super Force.Levitra.Propecia….