Hi all
the example here is showing the way to change the hint while dragging over different droptargets.
Now I want to append the "hint-element" to the droptarget as shown while dragging it.
At the moment with this code it always appends the source element, but i donĀ“t know how to add the hint-element.
any ideas, code samples etc?
Thank you, Paddy
the example here is showing the way to change the hint while dragging over different droptargets.
Now I want to append the "hint-element" to the droptarget as shown while dragging it.
At the moment with this code it always appends the source element, but i donĀ“t know how to add the hint-element.
function
droptargetOnDrop(e) {
$target = $(e.target);
$draggable = $(e.draggable.currentTarget);
$target.append($draggable);
}
any ideas, code samples etc?
Thank you, Paddy