ok, thanks to aw there is aw.all to hold all variables.
Is there a generic method to clean the Dom that was created by unused variables? Unused variables can be cleanup by aw.all[id]= null;
I can get the element, its parent, remove the element from the child of its parent, anything else ? event listeners ?
Thursday, March 13, 2008
It is enough to remove just the DOM element - AW does not keep any references to the element (except for AW.all array) and does not attach any event listeners to the element.