TOC PREV NEXT INDEX

Put your logo here!


nextSibling


Returns the node immediately following the current one in the tree.

Syntax

node = elementNode.nextSibling 

Parameters

node is a node object.

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

core


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