$(document).ready(function(index){
$(connectSort).each(function(index, obj){
$("." + this).sortable({
connectWith: ".connectedSortable_" + this,
cancel: '.state-disabled',
revert: true,
start: function(event, ui) {alert(ui.item.attr("title")) },
stop: function(event, ui) { }
}).disableSelection();
});
});
the first function(start: function ..) displays an attribute (title) of the dragged item once the sorting starts. supposedly, the second function (stop: function ..) would display the same attribute but of the item replaced by the dragged item once the sorting stops.
I have tried a lot of things already, but none seems to work.
Please help. thank you.