The refresh function should actually do the job. Could you post your test case maybe?
Thanks, Paul On Tue, Jan 6, 2009 at 5:53 PM, Larry Siden <[email protected]> wrote: > Does anyone know how to create a sortable list that you can continue to add > items to dynamically that can also be drag/drop sorted with the original > items? > > I'm using jQuery on a site that manages a sortable list, to which items can > be added dynamically (Ajax) after the page has been downloaded and > rendered. I apply $(container).sortable({...options...}) to them and > everything works like a charm, but items that I add to the container after > that won't respond to mouse events (click and drag). I tried calling > $(container).sortable("refresh"), and even tried re-initializing the list by > calling $(container).sortable({options...}) after each item is added, but > the new items still won't respond to mouse events. > > Does anyone know how to do this? > > --Larry Siden > > The United States is a nation of laws; poorly written and randomly > enforced. > -- Frank Zappa > > > > -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
