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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -