Re: [jQuery] Delaying Click Event

2010-01-04 Thread Michel Belleville
The simplest way to do this is to use the setTimeout method (straight JS) and give it an anonymous function as callback to trigger after given period. Something like this should do the trick : $('a.delayed').click(function() { // assuming these links all share the "delayed" class var clicked = $(

[jQuery] Delaying Click Event

2010-01-04 Thread david.vansc...@gmail.com
I've been searching high and low on Google over the last hour looking for this, but can't seem to find anything. Maybe I'm using the wrong search terms, but I'd think what I'm trying to accomplish is something that's been done before. What I'm looking to do is delay the action of a click for a se