TOC PREV NEXT INDEX

Put your logo here!


previousSibling


Returns the node immediately previous to the current one in the tree.

Syntax

pNode = elementNode.previousSibling 

Parameters

pNode is the node prior to this one in the ordered list.

Example

n1 = n2.previousSibling; 

Notes

Returns NULL if there are no more nodes.

Specification

DOM Level 2 Node


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX