Results 21 - 40 of 1,719

Node.compareDocumentPosition()

The Node.compareDocumentPosition() method compares the position of the current node against another node in any other document.
API DOM Method Node

Node.contains()

The Node.contains() method returns a Boolean value indicating whether a node is a descendant of a given node or not.
API DOM Method Node

Node.hasChildNodes()

The Node.hasChildNodes() method returns a Boolean value indicating whether the current Node has child nodes or not.
API DOM Method Node

NodeIterator.nextNode()

The NodeIterator.nextNode() method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set.  The first call to nextNode() returns the first node in the set.
API DOM Method NodeIterator

NodeIterator.previousNode()

The NodeIterator.previousNode() method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set.
API DOM Method NodeIterator

Range.cloneContents()

The Range.cloneContents() returns a DocumentFragment copying the objects of type Node included in the Range.
API DOM Method Range

Range.cloneRange()

The Range.cloneRange() method returns a Range object with boundary points identical to the cloned Range.
API DOM Method Range

Range.collapse()

The Range.collapse() method collapses the Range to one of its boundary points.
API DOM Method Range

Range.compareBoundaryPoints()

The Range.compareBoundaryPoints() method compares the boundary points of the Range with another one.
API DOM Method Range

Range.deleteContents()

The Range.deleteContents() removes the contents of the Range from the Document.
API DOM Method Range

Range.detach()

The Range.detach() method releases a Range from use. This lets the browser choose to release resources associated with this Range. Subsequent attempts to use the detached range will result in a DOMException being thrown with an error code of INVALID_STATE_ERR.
API DOM Method Range

Range.extractContents()

The Range.extractContents() method moves contents of the Range from the document tree into a DocumentFragment.
API DOM Method Range

Range.insertNode()

The Range.insertNode() method inserts a node at the start of the Range.
API DOM Method Range

Range.selectNode()

The Range.selectNode() method sets the Range to contain the Node and its contents. The parent Node of the start and end of the Range will be the same as the parent of the referenceNode.
API DOM Method Range

Range.selectNodeContents()

The Range.selectNodeContents() sets the Range to contain the contents of a Node.
API DOM Method Range

Range.setEnd()

The Range.setEnd() method sets the end position of a Range.
API DOM Method Range

Range.setEndAfter()

The Range.setEndAfter() method sets the end position of a Range relative to another Node. The parent Node of end of the Range will be the same as that for the referenceNode.
API DOM Method Range

Range.setEndBefore()

The Range.setEndBefore() method sets the end position of a Range relative to another Node. The parent Node of end of the Range will be the same as that for the referenceNode.
API DOM Method Range

Range.setStart()

The Range.setStart() method sets the start position of a Range.
API DOM Method Range

Range.setStartAfter()

The Range.setStartAfter() method sets the start position of a Range relative to a Node. The parent Node of the start of the Range will be the same as that for the referenceNode.
API DOM Method Range