want to copy dragable element. But my code is cutting the element and pasting it on the dropzone
I am using this to drag and drop element
$
(
".drag-able"
).
draggable
({
appendTo:
"body"
,
cursor:
"move"
,
helper:
"clone"
,
revert:
"valid"
});
$
(
".drop-able"
).
droppable
({
tolerance:
'pointer'
,
drop
:
function
(event, ui) {
$
(
this
).
append
(
$
(
ui
.
draggable
));
},
});
but it disappearing the original element. I want to drag the element to a new position by keeping the original one on its position. Is this possible?