|
|
|
|
|
nextSibling
Returns the node immediately following the current one in the tree.
Syntax
next_element = element.nextSiblingParameters
next_element is the element node directly after the current element in the list of siblings (i.e., the list of children for the parentNode).
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 |
|
|
|
|
|