A Sortable consists of item elements in a container element. When you create a new Sortable, it takes care of the creation of the corresponding Draggables and Droppables.

Availability

script.aculo.us V1.0 and later.

Demos

See Sortable Lists Demo, Ghostly Sortable Demo and Sortable Floats Demo.

Creating sortables

See Sortable.create.

Disabling sortables

See Sortable.destroy.

Serializing

The Sortable object also provides a function to serialize the Sortable in a format suitable for HTTP GET or POST requests. This can be used to submit the order of the Sortable via an Ajax call. See Sortable.serialize

Tutorials

A short tutorial on using Sortables prepared for the Linux Users Group, Villafranca, Italy.