Re: [jQuery] Re: setTimeout

2009-12-17 Thread Michael Geary
p.s. If there are extra blank lines in my code samples, those aren't intentional (especially not that one in the middle of the chain). Gmail is adding those for some reason! On Thu, Dec 17, 2009 at 1:19 PM, Michael Geary wrote: > I'm sorry, I should have spotted the major bug in the code that I

Re: [jQuery] Re: setTimeout

2009-12-17 Thread Michael Geary
I'm sorry, I should have spotted the major bug in the code that I posted. In fact, it's particularly embarrassing, because I wrote a recipe for the jQuery Cookbook [1] on this exact topic. It's recipe 5.2, "What's Wrong with $(this)?" Inside the setTimeout callback function, "this" does not have