a div where you destroy elements
$(".drop").sortable({
connectWith: 'ul',
cancel: ".ui-state-highlight"
});
$(".draggable").draggable({
connectToSortable: '.drop',
helper: 'clone',
revert: 'invalid',
editable: true
});
$("#test").disableSelection();
i create (clone) elements by dragging then to the the list, so i want to create a div "REMOVE HERE" so when the user drags one of these clonned elements, it wo开发者_开发百科uld just be removed
how to do that?
Check out the jQuery UI Photo Manager script.
精彩评论