basic delay on jquery .click function

Posted by kalpaitch on Stack Overflow See other posts from Stack Overflow or by kalpaitch
Published on 2010-03-30T22:51:35Z Indexed on 2010/03/30 23:03 UTC
Read the original article Hit count: 371

Filed under:
|

I have the most basic jquery function of them all, but I couldn't find a way in the documentation to trigger the contents of this click function after say 1500 milliseconds:

$('.masonryRecall').click(function(){
  $('#mainContent').masonry();
 });

P.S. just noticed the .delay function jquery 1.4, although, I am using version 1.3. I don't know whether updating this would interfere with any of the other javascript I currently have.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about timedelay