Ah very interesting. I was using jQuery 1.3.1 and jQuery UI 1.5.3, so looks like those are incompatible. I switched back down to 1.2.6 (just for now), and the callback is indeed firing.
Thanks Richard! On Feb 2, 10:23 am, "Richard D. Worth" <[email protected]> wrote: > Can you confirm which versions of jQuery and jQuery UI you are using. The > behavior you've described (callbacks not firing) is usually due to > incompatible versions. Note: > > stable release, jQuery UI 1.5.3 is only compatible with jQuery 1.2.6 > preview release, jQuery UI 1.6rc6 is only compatible with jQuery 1.3+ > > We're working on getting out 1.6 final today so that our latest stable > release will be compatible with the latest stable release of jQuery. Thanks. > > - Richard > > On Mon, Feb 2, 2009 at 10:07 AM, chriscoyier <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
