Dave Methvin schrieb:
>> $("<ul><li>foo</li></ul>").find("li").click(...).end().appendTo("body");
>
> IE6 leaks a small amount of memory if you attach an event handler before
> tacking it onto the body:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/d
> nwebgen/ie_leak_patterns.asp
> Probably isn't worrisome unless you're generating a lot of them though.
this should work to?
$("<ul><li>foo</li></ul>").appendTo("body").find("li").click(...);
or does appendTo break the chain?
-- klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/