var icon = $("<div style='width:100px;height:100px;border-style:solid;'>");
icon.draggable({
containment: 'parent',
axis: 'y',
drag: function(e,ui) { }
});
icon.clone(true).appendTo($("body"));
Run Code Online (Sandbox Code Playgroud)
在我完成克隆之后,图标拖动停止了工作.有谁知道,如何解决这个问题?
谢谢
jquery ×1