How to drag items between 2 sorted lists with jQuery?
Posted
by sa125
on Stack Overflow
See other posts from Stack Overflow
or by sa125
Published on 2010-04-14T13:10:19Z
Indexed on
2010/04/14
13:13 UTC
Read the original article
Hit count: 451
Hi - I'm trying to implement drag/drop/sort between 2 list elements:
<ul id="first">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
<ul id="second">
<li>item 4</li>
<li>item 5</li>
<li>item 6</li>
</ul>
Basically I just want to be able to pass items between the lists and sort the items in each list. What's the simplest way to implement this using jQuery?
© Stack Overflow or respective owner