Hi I have a list elements inside a div. I have javascript function to dynamically add list elements to the div using (appendChild). I have another javascript function to enumerate the list items. Now. For the list items that originally exists in the page, enumerate function work. But when I start to add list elements dynamically, they do not get enumerated. I also noticed that when I view the page source, the newely added elements are not shown. Can somebody help me with a way to keep track of the updated list elements? function Enumerate() { var mylist = document.getElementById('firstlist'); for (i=0; i<mylist.childNodes.length; i++){ if (mylist.childNodes[i].nodeName=="LI") alert(mylist.childNodes[i].innerHTML); } }