javascript Node ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE
@April 4, 2009, 2:46 a.m.
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, |
Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 1 | ||||||||||||||||||||||||||
|
Read-only | ||||||||||||||||||||||||||
This set of constants belongs to the root Node object of the W3C DOM, and is therefore inherited by all document-level nodes and elements. Each property corresponds to an integer value associated with the nodeType property of every DOM node. You can use these properties as a more plain-language way to indicate the node type your script is looking for in comparisons or similar operations. |
|||||||||||||||||||||||||||
Example | |||||||||||||||||||||||||||
if (myObject.nodeType == document.ELEMENT_NODE) { // process as an element here } |
|||||||||||||||||||||||||||
Value | |||||||||||||||||||||||||||
Integer corresponding to DOM node type as follows. |
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
Default | |||||||||||||||||||||||||||
Constant values (above). |
Hello,
Club-Music download https://0daymusic.org MP3, FLAC, LIVESETS, Music Videos.
Team 0day
Club-Music download https://0daymusic.org MP3, FLAC, LIVESETS, Music Videos.
Team 0day
Waynedrend
- 11 months
What do you advise to me?
battery
- 1 years
Powered by Linode.
New club music https://0daymusic.org
Download MP3/FLAC, Label, LIVESETS, Music Videos.