Hacker News new | ask | show | jobs
by rhythmAddict 5906 days ago
I know I'm being a stickler here, but setTimeout() is conventional JS...
1 comments

Yep. jQuery does have .delay() now, though. You can use it like this:

$('#thing').fadeIn(300).delay(2000).fadeOut(300);

Which is precisely the type of thing I'd think would be in the article :)