Trying to Use jQuery .delay()
<p>Can someone please let me know what I am doing wrong here as it looks like my .delay is not working:</p>

<pre><code>$(document).ready(function() {

    var imgsrc = "#WORKSPACE_IMAGES#spinner_big.gif";

    $('a#add-node').click(function() {
        $('a#add-node').hide();
        $('#form-loading').show().delay(5000);
        $('#form-loading').hide()
        $('a#add-node').show();
    });
});
</code></pre>

<p>I basically would like to display my form-loading div, wait 5 seconds, then hide it and then display my other add-node div.</p>

<p>When I press on my button, noting seems to happen, it just shows my original add-node div button.</p>

<p>Any ideas.</p>

<p>Thanks.</p>
