TOC PREV NEXT INDEX

Put your logo here!


firstChild


firstChild returns the first child element of the current element

Syntax

element = element.firstChild 

Parameters

The element parameter returned is a node of type element.

Example

trow = document.getElementById("row1"); 
left_cell = trow.firstChild; 

Notes

Returns NULL if the current node is childless.

Specification

core


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