If you know the order already, you could do something like this:

var foo = $('parentList');

You could also capture a snapshot of the list before any dragging is  
done with

var original = $('parentList').select('li').pluck('id');

And then play that back the same way as the array literal above.


On Jun 3, 2009, at 11:41 AM, Daryl wrote:

> I have 4 divs that are sortable and they have numbered id's. e.g
> list_1, list_2 etc.
> What I want to do is call a function when a button is pressed that
> will put by sortable Divs into a set order.
> Is this possible?
> >

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to