Method HTMLElement.getNodesByType
Get an array of nodes based on node type.
-
Syntax
Array HTMLElement.getNodesByType(Number nodeType )
Return an array of nodes based on the node type. Nodes descending from 'this' is included. -
Parameters
Number nodeType- An integer specifying the node type. Possible values are
1 (Node.ELEMENT_NODE)
3 (Node.TEXT_NODE)
4 (Node.CDATA_SECTION_NODE)
8 (Node.COMMENT_NODE)
- Return value An array of nodes matching the specified node type.
- Resources See the EPE project page for information on how to use this object in Internet Explorer.
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
