TheDude
TheDude

Reputation: 13

jQuery droppable and sortable: append to the Beginn not at the End

I have a droppable-List and I want that the Item will while dragging be appended to the begin of the sortable-List and not to the End. is there a way?

Here the Code: http://jsfiddle.net/cjboco/8snSf/

Thanks

Upvotes: 1

Views: 789

Answers (1)

Joseph Marikle
Joseph Marikle

Reputation: 78520

Demo

    $li.prependTo(this);

use prependTo

Upvotes: 1

Related Questions