Hey guys! I''m am trying to update a Sortable list on the fly with some Ajax calls. I have got a list like that: <div id="some_id_pane"> <ul id="some_id"> <li id="list_1">...</li> <li id="list_2">...</li> <li id="list_3">...</li> </ul> </div> After that the Sortable list is initialized: <script type="text/javascript"> //<![CDATA[ Sortable.create(''some_id'', {tree: true, handle: ''some_id_handle''}); //]]> </script> So far everything works as expected. I can change the position of every list item. Then I need to update the <div> layer via Ajax. Therefore the Sortable is deleted and after the Ajax call is complete, it gets created from scratch again: function some_function() { Sortable.destroy(''some_id''); new Ajax.Updater(''some_id_pane'', ''my_url.php''); Sortable.create(''some_id'', {tree: true, handle: ''some_id_handle''}); } Unfortunately, the last part just won''t work. The <div> layer is updated (I can see the new list items) but I am not able to use the Sortable anymore, although it has been reinitialized. Do you have any solution for this problem? Thanks a lot! oahu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---