How to append a listitem in first position of list using Jquery?
First Second
You are selecting the second li element, try this:
li
$('#mylist li:eq(0)').before("first"); //or $('#mylist li:first')...
or you can use prepend method.
prepend