Tim Joyce
Tim Joyce

Reputation: 4517

Keep original and clone on successful drags

How can I keep the original and the clone on a successful drag?

$('.definition').draggable({'revert':'invalid', 'helper':'clone'});

Upvotes: 0

Views: 3925

Answers (1)

Tim Joyce
Tim Joyce

Reputation: 4517

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

Upvotes: 1

Related Questions