开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜