Sortables

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.

 

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