开发者

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

开发者 https://www.devze.com 2023-04-01 01:04 出处:网络
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?

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


Demo

    $li.prependTo(this);

use prependTo

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号