TOC PREV NEXT INDEX

domref



previousSibling


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

Syntax

node = elementNode.previousSibling
 

Parameters

node is a node object.

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