Clone instead of move in jquery ui and angular js -


currently working on project angular js. creating 2 div drag , drop

here jsfiddle

what need when drag div should clone intead of move. means drag , drop element should remain in both divs. how can ?

try code in drop function :

$(this).append(ui.draggable.clone()); 

see fiddle : http://jsfiddle.net/zhzxp/1/


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -