concept droppable in category javascript

appears as: Droppables, Droppables, droppable
Prototype and Scriptaculous in Action

This is an excerpt from Manning's book Prototype and Scriptaculous in Action.

Another option that made its way from the Droppables library into Sortable is the only option. This option is a renaming of the Droppables accept option, and it allows us to specify a CSS class name, or array of class names, that limit what is and is not to be sortable. When specified, only eligible child elements (as determined by the tag option) that possess one of the specified class names become sortable.

You won’t be surprised by now to be told that Rails supports all of these things from the comfort of our .rhtml file. We’ll work through these systems in order, starting with the draggables and droppables, and then moving on to the more complex Sortables.