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

html - Cut text on left side inside button while centering -

plugins - CodeIgniter support on netbeans 8.0 -

php - Selecting items from MySQL for a status update feed efficiently while accounting for possible spam -