开发者

jQuery Draggable to Sortable list

Good day!

I right now have a function the drags an element from a list to a sortable list.

But what I want to achieve is to insert my own created html 开发者_开发百科elements when i drag it to the sortable list and not to insert the elements selected from the draggable list.

Appreciate you help in advance!

Thanks, steamboy


You can take a look at "receive" callback: http://jqueryui.com/demos/sortable/#event-receive and modify ui.item :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜