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

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?


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 
For more options, visit this group at 

Reply via email to