The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
Adds a node to the end of the list of children of a specified parent node.
.attributes is a collection of all attribute nodes registered to the specified node.
Returns a live NodeList containing all the children of this node.
Clone a Node, and optionally, all of its contents.
Compares the position of the current node against another node in any other document.
Returns a Boolean value indicating whether a node is a descendant of a given node, i.e.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Returns the node's first child in the tree, or null if the node is childless.
hasAttributes returns a boolean value of true or false, indicating if the current element has any attributes or not.
hasChildNodes returns a Boolean value indicating whether the current Node has child nodes or not.
Inserts the first Node given in a parameter immediately before the second, child of this element, Node.
isDefaultNamespace accepts a namespace URI as an argument and returns true if the namespace is the default namespace on the given node or false if not.
If #targetElm is first div element in document, "true" will be displayed.
Tests whether two nodes are the same, that is they reference the same object.
The Node.isSupported()returns a Boolean flag containing the result of a test whether the DOM implementation implements a specific feature and this feature is supported by the specific node.
Returns a Node representing the last direct child node of the node, or null if the node has no child.
Returns a DOMString representing the local part of the qualified name of an element.
Takes a prefix and returns the namespaceURI associated with it on the given node if found (and null if not).
Returns the prefix for a given namespaceURI if present, and null if not.
The namespace URI of this node, or null if it is no namespace.
Returns the node immediately following the specified one in its parent's childNodes list, or null if the specified node is the last node in that list.
Returns a DOMString containing the name of the Node.
The read-only Node.nodeType property returns an unsigned short integer representing the type of the node.
Is a DOMString representing the value of an object.
Puts the specified node and all of its subtree into a "normalized" form.
Returns the Document that this node belongs to.
Returns a Node that is the parent of this node.
Returns the node immediately preceding the specified one in its parent's childNodes list, null if the specified node is the first in that list.
Removes a child node from the current element, which must be a child of the current node.
Removes the event listener previously registered with EventTarget.addEventListener.
Replaces one child Node of the current one with the second one given in parameter.
Is a DOMString representing the textual content of an element and all its descendants.