TOC PREV NEXT INDEX

Put your logo here!


lastChild


lastChild returns the last child of the current element.

Syntax

last_child = element.lastChild 

Parameters

last_child is the final element node in the nodeList of children on the current element.

Example

tr = document.getElementById("row1"); 
corner_td = tr.lastChild; 

Notes

Returns NULL if there are no child elements.

Specification

core


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