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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -