So this is what I need to do...
This code:
needs to be inserted into the top of an unordered list (ul)
so for example, the code may be like...
and when the javascript runs I need to insert a new list item preferably at the top.
I'm at a loss right now.
Any ideas?
Thanks,

This code:
Code:
var newListItemToAdd = '<li id="'+updatedItems[i]+'" title="'+updatedItems[i]+'\'s caption goes here"><img class="pic_thumb" src="photos/'+updatedItems[i]+'" alt="" width="150" height="150" /></li>';
so for example, the code may be like...
Code:
<ul id="thumbs">
<li id="blah">blah</li>
<li id="blah2">blah2</li>
</ul>
and when the javascript runs I need to insert a new list item preferably at the top.
I'm at a loss right now.
Any ideas?
Thanks,
