nextSibling
Returns the node immediately following the current one in the tree.
Syntax
node = elementNode.nextSibling
Parameters
Example
// in a table, the cells are siblings cell1 = document.getElementById("td1"); cell2 = cell1.nextSibling;
Notes
Returns NULL if there are no more nodes.
Specification
Netscape Communications http://developer.netscape.com |