There's also a demo for that: http://jqueryui.com/demos/sortable/#connect-lists
- Richard On Sun, Feb 22, 2009 at 6:22 AM, Frederik Ring <frederik.r...@gmail.com>wrote: > > When you have two sortable lists, there's a 'connectWith' option in > the $(this).sortable()-command that lets you drag items from one list > to the other. You can also specify callbacks for the removal and > receiving of list items via remove:function and receive:function. > > Sth like this: $('#list1').sortable({cursor:'move',connectWith:$ > ('#list'),remove:duplicateItem,receive:integrateItem}); > > It's actually pretty easy. See: http://docs.jquery.com/UI/Sortable#options > >