TOC PREV NEXT INDEX

domref



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

previousSibling
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX