[thelist] Getting Child Elements from an HTML Element in JS

Chris Evans chris at unhappyfun.com
Tue Jul 8 11:02:17 CDT 2003


 >var parent1 = document.getElementById("parentDiv1");
 >var thisChild = parent1.firstChild;

Thanks all - the childNodes/firstChil was the part I was missing. I was 
looking for something related to the Element object rather than the Node 
object.

Chris Evans
http://www.fuseware.com



More information about the thelist mailing list