Hello!

So I have a simple sortable list with jQuery UI's .Sortable()
function. I am hoping to have it fire off a function right after any
of the list items are moved. From the documentation, "update" seems to
be the paramater to pass it to get it to do that:

$(".list").sortable({
        handle   : ".draggertab",
        update   : function(){
            console.log("order changed");
        }
});

But my little function there to log something to the console doesn't
seem to be firing off when I drag a list item and the list is
resorted.

Am I missing something?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to