View Full Version : About Memory

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?

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