jquery $.post doesn't work with setTimeout()
<p>kindly have a look at this code:</p>

<pre><code>$('a.load').click(function(){
        setTimeout(function(){
            $(".content_container").append('&lt;div class="preloading"&gt;&lt;img src="http://localhost:8888/smart/assets/images/loading.gif" alt="loading" /&gt;&lt;/div&gt;').show();   
            var url = 'http://localhost:8888/smart/payments.html';
            $.post(url,function(data){
                $('.content_container').append(data).show();
                $('.preloading').remove();
            });             
        },1000);    
});
</code></pre>

<p>the problem that it doesn't return the required url, just the loading image only, it's just html pages</p>
