Q:

jQuery sortable swap elements instead insert

I'm a beginner in jQuery and I can't found a solution: I'm using Sortable with a table.
But the default re-ordering method isn't good for me: I don't want insert the dragged item - I want swap the dragged item and the "current" item (where the mouse pointer is).
 $(".timetable").sortable({
     items: "td.ora",
     sort: function(event,ui) {
            // what should I write here?
     });

I think should overwrite the sort event but I don't know how.

A:

This question has a solution for Sortable (see the workaround at the bottom of the question):
jQuery sortable obtain 2 elements being swapped
But I think the more elegant solution is the Swappable plugin:
http://www.eslinstructor.net/demo/swappable/swappable_home.html

