PDA

View Full Version : About Memory



taocore
4 Jun 2010, 11:13 PM
The doc says Window.close() is deprecated. But which method is the substitute?
Is that hide() method? Dose hide() method remove elements from dom?

I just want to reduce the memory usage on browser, is there anything others should i take care of?

micgala
8 Jun 2010, 1:22 AM
Hi.
The hide method is the one to use.
Yes, it removes the elements from the dom when no reference to the window exists.