I want a drag and drag.
Is it possible to do drags in two different blocks?
My drag works in one direction: "ul#list li" to "ul#drop".
I would also like to do: drop ul li # # ul to list
I also have a problem with
$. event.dataTransfer.dropEffect = "move";
Indeed it does not work.
Thanks you
html :
<div id="container">
<header>
</header>
<h2>Le drag and drop avec HTML5 et jQuery</h2>
<div id="texteFond">
drag me
</div>
<ul id="liste">
<li draggable="true" id="aaa">A</li>
<li draggable="true" id="bbb">B</li>
<li draggable="true" id="ccc">C</li>
<li draggable="true" id="ddd">D</li>
</ul>
<ul id="drop"></ul>
</div><!-- #main -->
<footer>
</footer>
</div><!-- #container -->
-
So I clone the draggable element then I suprimmer to emulate this behavior