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 :)
精彩评论