Retrieves the document object associated with the node.
Syntax
| JavaScript | |
|---|
Property values
Type: Object
the document object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 1.2
Remarks
The ownerDocument is the document object that is used to create new nodes.
This property returns null when the node is a document.
See also
- a
- abbr
- address
- area
- attribute
- b
- base
- bdo
- blockQuote
- body
- br
- button
- caption
- cite
- code
- col
- colGroup
- comment
- dd
- del
- div
- dl
- documentType
- dt
- em
- embed
- fieldSet
- form
- head
- hn
- hr
- html
- i
- iframe
- img
- input type=button
- input type=checkbox
- input type=file
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- ins
- kbd
- label
- legend
- li
- link
- map
- ol
- option
- p
- pre
- ProcessingInstruction
- q
- s
- samp
- script
- select
- small
- span
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- title
- tr
- u
- ul
- var
Build date: 11/28/2012