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

--~--~---------~--~----~------------~-------~--~----~
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