call javascript function in a jquery chain
<pre><code>function jsFunc() {
  alert('i am js!');
}

$('#node').slideDown().call(jsFunc());
</code></pre>

<p>Of course, the function isn't called 'call'. Any help?</p>

<p>** solution (thx Reigel) **</p>

<p><a href="http://jsfiddle.net/gx2mJ/1/" rel="nofollow">http://jsfiddle.net/gx2mJ/1/</a></p>

<p>OR</p>

<p>html:</p>

<pre><code>&lt;div id="content"&gt;
    &lt;p class="article"&gt;
        this is an article
    &lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>javascript:</p>

<pre><code>function callBack() {
    $("#content .article").html("the callback has been called");
}

$(document).ready(function() {
    $("#content .article").slideUp(0);

    $("#content .article").each(function(i) {
        $(this).delay(i*250).slideDown(function(){
             //if ($("#content .article:animated").length &lt; 1) {
                  callBack();
             //}
        });
    });
});
</code></pre>
