Lets say i have the following unordered list
<ul>
<li><a>Hank</a></li>
<li><a>Alice</a></li>
<li><a>Tom</a></li>
<li><a>Ashlee</a></li>
</ul>
What im looking for is when i click on Tom, that it moves (animated and without dragging) to the top of the list (index 0).
Ive considered jquery sortable, but i cant find a way to activate the moving part programmatically.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…