JQuery: How do I use the JQuery delay with my own function?

Posted by Timj on Stack Overflow See other posts from Stack Overflow or by Timj
Published on 2010-04-23T06:13:33Z Indexed on 2010/04/23 6:23 UTC
Read the original article Hit count: 159

How do I use the JQuery delay in conjunction with my own defined function, pseudo-code like so?:

$('#foo').slideUp(300).delay(800).myOwnFunction(1,2,3);
function myOwnFunction (a,b,c) {...}

The code above doesn't work, however - per the JQuery documentation it appears like it should.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript