Is there a way to unextend an extended object?
For example, I have the following code that is causing a memory leak
in IE6....
var myImg = document.createElement('img');
myImg.id = 'img1';
document.body.appendChild(myImg);
...
var delImg = $("img1");
delImg.parentNode.removeChild(delImg);
...
but if I use getElementById, its okay...
var delImg = document.getElementById("img1");
delImg.parentNode.removeChild(delImg);
After removing, if I can unextend delImg, then IE6 should be able to
cleanup the memory.
thanks,
dat.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---