$("button").click(function() {
$("#sortable1 li").appendTo("#sortable2");
});
Here's a full sample: http://paste.pocoo.org/show/108290/
- Richard
On Mon, Mar 16, 2009 at 9:15 AM, Simon <[email protected]> wrote:
>
> Does anyone know how to move all items from one sortable list to
> another with just a click of a button?
>
> I would imaging that it's possible but haven't found any documentation/
> examples.
>
> Would really appreciate any advice anyone might have.
>
> Cheers
>
> Simon
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---