I need a jQuery plugin that will take an HTML table, and will allow the replacement of cells in between each other, via drag n drop. Example:
[1][2][3]
[4][5][6]
[7][8][9]
When I drag 1 onto 9, it should replace them like so:
[9][2][3]
[4][5][6]
[7][8][1]
ideally with an optional callback function (to update a remote page with ajax).
Thanks in advance.
Look at this:
http://www.redips.net/javascript/drag-and-drop-table-content/
Check the “Switch content option” below the table.