Hi All, I'm loving this drag drop library in my application, however i've got serious memory leaks because I don't know how to destroy the items.
I'm using the .net ScriptManager.RegisterClientScriptBlock method to register my script, so that all items from the database can be "Draggables". However, I can't find a way of using the destroy method on them? In my register block i'm loading all the Draggables into an array - e..g var items = document.getElementsByClassName("bla"); Then for each item, new Draggable(items[i].id... etc) How can I unload/destory them on async postback? if I look at the variable "items" it references the divs, not the objects? How can I access the objects to destroy them? Thanks, James. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---