.each(function(index, element))
item.children()
list = $("#myList"); children = list.children(); children.each(function(item, element){ // do something element["addSomeProperty"] = index; // whatever // "element" is the same as your item, more exactly, its jQuery wrapper (it also can use any jQuery functions defined) })
myListParent = $("#listParent") // same as document.getElementById("myListParent")