Karl Rudd schrieb: > Err no, actually "expandos" refers to "non-standard" attributes that > get added to DOM elements. They "expand" the attributes that are > available on an element. > > For instance adding an "expando" attribute called "hello": > > <input type="submit" value="blah" hello="Hello world!"> > > Because they're "non-standard" they can cause memory leak problems > under Internet Explorer if they refer to other DOM elements.
I'd like to add here, that the risk of causing memory leaks only exists if you use expandos in scripts together with closures. Because the pattern of such circular references is not always easy to spot I avoid expandos like the plague. More information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ie_leak_patterns.asp -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/