Best way to put delay after calling javascript functions
<p>I'm using jquery to call some javascript functions with a delay between them.<br />
Also I'm using <a href="http://docs.jquery.com/Cookbook/wait" rel="nofollow">Jquery Wait</a></p>

<p>When I call below function,all functions are called recpectively,there are no delays between each other.</p>

<pre><code>$(this)
.call(f1)
.wait(5000)
.call(f2)
.wait(5000)
.call(f3);
</code></pre>

<p>Here <strong>call</strong> function calls some function as I did</p>

<pre><code>$.fn.call = function (f) {
    if (f)
        f();

    return this;
};
</code></pre>

<p>What am i doing wrong ?
How can i achieve something like this ? <br />
Thank you</p>
