var localPlaceholder = document.getElementById('localFiles');
for (i=0; i<entries.length; i++) {
var newList = document.createElement( "li" );
newList.nodeValue = entries[i].name;
localPlacholder.appendChild(newList);
}
Does this make any sense? For some reason I am not seeing anything added – though entries[i].name DOES return values if I debug it with alert boxes.
EDIT: localFiles is a ul
instead of:
try: