Difference between revisions of "lure.dom.node"
Line 1: | Line 1: | ||
+ | == DOM Node Object == | ||
+ | |||
+ | Desc | ||
+ | |||
== DOM Node Properties == | == DOM Node Properties == | ||
{| | {| | ||
! align="left" | Property | ! align="left" | Property | ||
− | ! align="left" | Description | + | ! align="left" style="padding-left:10px;" | Description |
− | ! align="left" | Implemented | + | ! align="left" style="padding-left:10px;" | Implemented |
+ | |- | ||
+ | |childNodes | ||
+ | |style="padding-left:10px;"|Returns a NodeList of child nodes for a node | ||
+ | |style="padding-left:10px;"|Yes | ||
+ | |- | ||
+ | |firstChild | ||
+ | |style="padding-left:10px;"|Returns the first child of a node | ||
+ | |style="padding-left:10px;"|No | ||
+ | |- | ||
+ | |localName | ||
+ | |style="padding-left:10px;"|Returns the local part of the name of a node | ||
+ | |style="padding-left:10px;"|No | ||
+ | |- | ||
+ | |nextSibling | ||
+ | |style="padding-left:10px;"|Returns the node immediately following a node | ||
+ | |style="padding-left:10px;"|No | ||
|- | |- | ||
− | | | + | |lastChild |
− | |Returns a | + | |style="padding-left:10px;"|Returns the last child of a node |
− | |Yes | + | |style="padding-left:10px;"|No |
+ | |- | ||
+ | |nodeName | ||
+ | |style="padding-left:10px;"|Returns the name of a node, depending on its type | ||
+ | |style="padding-left:10px;"|Yes | ||
+ | |- | ||
+ | |nodeType | ||
+ | |style="padding-left:10px;"|Returns the type of a node | ||
+ | |style="padding-left:10px;"|Yes | ||
+ | |- | ||
+ | |nodeValue | ||
+ | |style="padding-left:10px;"|Sets or returns the value of a node, depending on its type | ||
+ | |style="padding-left:10px;"|Partial | ||
+ | |- | ||
+ | |ownerDocument | ||
+ | |style="padding-left:10px;"|Returns the root element (document object) for a node | ||
+ | |style="padding-left:10px;"|No | ||
+ | |- | ||
+ | |parentNode | ||
+ | |style="padding-left:10px;"|Returns the parent node of a node | ||
+ | |style="padding-left:10px;"|Yes | ||
+ | |- | ||
+ | |textContent | ||
+ | |style="padding-left:10px;"|Sets or returns the textual content of a node and its descendants | ||
+ | |style="padding-left:10px;"|No | ||
+ | |- | ||
+ | |text | ||
+ | |style="padding-left:10px;"|Returns the text of a node and its descendants. | ||
+ | |style="padding-left:10px;"|No | ||
+ | |- | ||
+ | |xml | ||
+ | |style="padding-left:10px;"|Returns the XML of a node and its descendants. | ||
+ | |style="padding-left:10px;"|No | ||
|} | |} | ||
+ | |||
+ | == DOM Node Methods == | ||
+ | |||
+ | == DOM Node Inherited Properties == | ||
+ | |||
+ | None | ||
+ | |||
+ | == DOM Node Inherited Methods == | ||
+ | |||
+ | None |
Revision as of 05:54, 3 November 2011
Contents
DOM Node Object
Desc
DOM Node Properties
Property | Description | Implemented |
---|---|---|
childNodes | Returns a NodeList of child nodes for a node | Yes |
firstChild | Returns the first child of a node | No |
localName | Returns the local part of the name of a node | No |
nextSibling | Returns the node immediately following a node | No |
lastChild | Returns the last child of a node | No |
nodeName | Returns the name of a node, depending on its type | Yes |
nodeType | Returns the type of a node | Yes |
nodeValue | Sets or returns the value of a node, depending on its type | Partial |
ownerDocument | Returns the root element (document object) for a node | No |
parentNode | Returns the parent node of a node | Yes |
textContent | Sets or returns the textual content of a node and its descendants | No |
text | Returns the text of a node and its descendants. | No |
xml | Returns the XML of a node and its descendants. | No |
DOM Node Methods
DOM Node Inherited Properties
None
DOM Node Inherited Methods
None