Node

Module:
core
Inherits from:
class
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

addEventListener
appendChild
cloneNode
compareDocumentPosition
dispatchEvent
hasAttributes
hasChildNodes
insertBefore
isDefaultNamespace
isEqualNode
isSameNode
isSupported
lookupNamespaceURI
lookupPrefix
normalize
removeChild
removeEventListener
replaceChild

addEventListener


void addEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 


appendChild


Node appendChild(
    in Node newChild) raises(DOMException); 


cloneNode


Node cloneNode(
    in boolean deep); 


compareDocumentPosition


unsigned short compareDocumentPosition(
    in Node other); 


dispatchEvent


boolean dispatchEvent(
    in Event event) raises(EventException); 


hasAttributes


boolean hasAttributes(); 


hasChildNodes


boolean hasChildNodes(); 


insertBefore


Node insertBefore(
    in Node newChild, 
    in Node refChild) raises(DOMException); 


isDefaultNamespace


boolean isDefaultNamespace(
    in DOMString namespaceURI); 


isEqualNode


boolean isEqualNode(
    in Node other); 


isSameNode


boolean isSameNode(
    in Node other); 


isSupported


boolean isSupported(
    in DOMString feature, 
    in DOMString version); 


lookupNamespaceURI


DOMString lookupNamespaceURI(
    in DOMString prefix); 


lookupPrefix


DOMString lookupPrefix(
    in DOMString namespaceURI); 


normalize


void normalize(); 


removeChild


Node removeChild(
    in Node oldChild) raises(DOMException); 


removeEventListener


void removeEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 


replaceChild


Node replaceChild(
    in Node newChild, 
    in Node oldChild) raises(DOMExceptionJSC); 

Member Data

ATTRIBUTE_NODE
attributes
baseURI
CDATA_SECTION_NODE
childNodes
COMMENT_NODE
DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
ELEMENT_NODE
ENTITY_NODE
ENTITY_REFERENCE_NODE
firstChild
lastChild
localName
namespaceURI
nextSibling
nodeName
nodeType
nodeValue
NOTATION_NODE
onabort
onbeforecopy
onbeforecut
onbeforepaste
onblur
onchange
onclick
oncontextmenu
oncopy
oncut
ondblclick
ondrag
ondragend
ondragenter
ondragleave
ondragover
ondragstart
ondrop
onerror
onfocus
oninput
onkeydown
onkeypress
onkeyup
onload
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
onmousewheel
onpaste
onreset
onresize
onscroll
onsearch
onselect
onselectstart
onsubmit
onunload
ownerDocument
parentElement
parentNode
prefix
previousSibling
PROCESSING_INSTRUCTION_NODE
TEXT_NODE
textContent

ATTRIBUTE_NODE


const unsigned short ATTRIBUTE_NODE = 2; 


attributes


readonly attribute NamedNodeMap attributes; 


baseURI


readonly attribute DOMString baseURI; 


CDATA_SECTION_NODE


const unsigned short CDATA_SECTION_NODE = 4; 


childNodes


readonly attribute NodeList childNodes; 


COMMENT_NODE


const unsigned short COMMENT_NODE = 8; 


DOCUMENT_FRAGMENT_NODE


const unsigned short DOCUMENT_FRAGMENT_NODE = 11; 


DOCUMENT_NODE


const unsigned short DOCUMENT_NODE = 9; 


DOCUMENT_POSITION_CONTAINED_BY


const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 


DOCUMENT_POSITION_CONTAINS


const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 


DOCUMENT_POSITION_DISCONNECTED


const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 


DOCUMENT_POSITION_FOLLOWING


const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 
0x20; 


DOCUMENT_POSITION_PRECEDING


const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 


DOCUMENT_TYPE_NODE


const unsigned short DOCUMENT_TYPE_NODE = 10; 


ELEMENT_NODE


const unsigned short ELEMENT_NODE = 1; 


ENTITY_NODE


const unsigned short ENTITY_NODE = 6; 


ENTITY_REFERENCE_NODE


const unsigned short ENTITY_REFERENCE_NODE = 5; 


firstChild


readonly attribute Node firstChild; 


lastChild


readonly attribute Node lastChild; 


localName


readonly attribute DOMString localName; 


namespaceURI


readonly attribute DOMString namespaceURI; 


nextSibling


readonly attribute Node nextSibling; 


nodeName


readonly attribute DOMString nodeName; 


nodeType


readonly attribute unsigned short nodeType; 


nodeValue


attribute DOMString nodeValue setter raises(DOMException); 


NOTATION_NODE


const unsigned short NOTATION_NODE = 12; 


onabort


attribute EventListener onabort; 


onbeforecopy


attribute EventListener onbeforecopy; 


onbeforecut


attribute EventListener onbeforecut; 


onbeforepaste


attribute EventListener onbeforepaste; 


onblur


attribute EventListener onblur; 


onchange


attribute EventListener onchange; 


onclick


attribute EventListener onclick; 


oncontextmenu


attribute EventListener oncontextmenu; 


oncopy


attribute EventListener oncopy; 


oncut


attribute EventListener oncut; 


ondblclick


attribute EventListener ondblclick; 


ondrag


attribute EventListener ondrag; 


ondragend


attribute EventListener ondragend; 


ondragenter


attribute EventListener ondragenter; 


ondragleave


attribute EventListener ondragleave; 


ondragover


attribute EventListener ondragover; 


ondragstart


attribute EventListener ondragstart; 


ondrop


attribute EventListener ondrop; 


onerror


attribute EventListener onerror; 


onfocus


attribute EventListener onfocus; 


oninput


attribute EventListener oninput; 


onkeydown


attribute EventListener onkeydown; 


onkeypress


attribute EventListener onkeypress; 


onkeyup


attribute EventListener onkeyup; 


onload


attribute EventListener onload; 


onmousedown


attribute EventListener onmousedown; 


onmousemove


attribute EventListener onmousemove; 


onmouseout


attribute EventListener onmouseout; 


onmouseover


attribute EventListener onmouseover; 


onmouseup


attribute EventListener onmouseup; 


onmousewheel


attribute EventListener onmousewheel; 


onpaste


attribute EventListener onpaste; 


onreset


attribute EventListener onreset; 


onresize


attribute EventListener onresize; 


onscroll


attribute EventListener onscroll; 


onsearch


attribute EventListener onsearch; 


onselect


attribute EventListener onselect; 


onselectstart


attribute EventListener onselectstart; 


onsubmit


attribute EventListener onsubmit; 


onunload


attribute EventListener onunload; 


ownerDocument


readonly attribute Document ownerDocument; 


parentElement


readonly attribute Element parentElement; 


parentNode


readonly attribute Node parentNode; 


prefix


attribute DOMString prefix setter raises(DOMException); 


previousSibling


readonly attribute Node previousSibling; 


PROCESSING_INSTRUCTION_NODE


const unsigned short PROCESSING_INSTRUCTION_NODE = 7; 


TEXT_NODE


const unsigned short TEXT_NODE = 3; 


textContent


attribute DOMString textContent setter raises(DOMException); 

 

Last Updated: 2009-05-29