Thanks to all who gave me a hand in this. I found a solution (but not the cause of the error).
Instead of appending html to the current innerHTML of the UL, I kept the data in a javascript object, modifying the object when needed and recreating the whole list everytime. Since the list is rarely longer than 3 entries, its not too heavy. I had the idea looking at the innerHTML of the div after adding the item but before using Sortable.create (which provoqued the error). The original entries had _extended attributes, but not the new one. Wandering if that was not the cause of my worries, I redesigned my application so that the list was always composed of new list items. VoilĂ ! Jerod, your idea could probably have worked also. I need to get myself into some DOM manipulation. Anyway, is it possible that you can't add a blank list item to an already sortable list by using simple innerHTML call, for IE? The question is still standing. Having used the DOM, I probably could have extended the list item before appending it. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
