Older version sortable

Older version sortable

Hello,

Yesterday I downloaded an older version of the sortable UI control (version: 1.5.3). I cannot update based on restrictions I cannot control inside the project. I am trying to tie in an event such as: sortupdate or sortstop. I cannot seem to find any good documentation/examples on this. The following code does fire but the ui.item object is not behaving as it does in the newer version. The same code, when using the the 1.7 version works fine. On a sort change I need to be able to get a few attribute values and the updated index of the item. It should be fairly simple but for some reason i cannot get any of this to work. It does find a ui.item object but I cannot get any attributes from it. (It is not finding any). Any suggestions/links to documentation would be very helpful. thanks in advance

  1.        $("#sortable").bind("sortupdate", function(e, ui) {
  2.             var i = $(ui.item);
  3.             alert(i.attr("id"));            
  4.         });