Jquery draggable and clone

jquery

Solution

The draggable functionality does not stop working.

However, when you hold your mouse over the clone and move it around, it is the original element that gets dragged.

Click here to see this behaviour: http://www.jsfiddle.net/bxH3Q/

To get around this, you have to make each clone draggable.

Problem

``` 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")); ``` After I have made a clone, icon dragging stopped working. Does anybody know, how to fix this? Thanks

Original source