Swappable is a jQuery plugin for swapping places of DOM elements.

The plugin works like this: at first, the user drags an element. The other element upon which it is dropped, swaps places with the one selected.
Swappable is akin to Sortable, but instead simply swaps the places of the two elements involved. Works for any elements (divs, images, tables — you name it).
Swappable is a minute plugin, which can be implemented in four lines, not counting the include.
It’s dependent on jquery.ui.mouse.js; jquery.ui.widget.js; jquery.ui.sortable.js, and, of course jQuery core.
- Website: http://www.eslinstructor.net/demo/swappable/swappable_home.html
- Demo: http://www.eslinstructor.net/demo/swappable/swappable_list.html














