Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Wednesday, January 18, 2012
How can I drop a cloned image using jQuery?
I can't drop a cloned image. But this works when I comment the helper:"clone" option.
the helper is only for visuals.
ReplyDeleteif you want to clone the image and drop it .. try something like that:
$("#table4").droppable({
accept: "#page",
tolerance: "touch",
drop: function (event, ui) {
ui.draggable.clone().appendTo(this);
}
});
I think this resolves your issue: Jquery: draggable clone.
ReplyDeletePs.: A simple search was enough to find this.