Re:Ask YC: Does anyone here use jQuery?
by nostrademons on Wednesday December 05, 2007 @10:49AM
(#86299)
JQuery also fixes the memory leaks if you remember to call .empty() or .remove() on any dynamically created elements on unLoad(). It nulls out all event handlers and DOM references, recursively, breaking the cycles that make IE hang onto memory.
Also, plugins use $.data rather than directly attaching information to DOM elements, which was added to fix memory leak problems.
Also, plugins use $.data rather than directly attaching information to DOM elements, which was added to fix memory leak problems.