Delay function of jquery to load?
<p>I want to delay blocking by 2 seconds while executing this code. How can I do that ? I tried setTimeout but it did not worked.</p>

<pre><code>document.getElementById('&lt;%=btnSave.ClientID%&gt;').disabled=true;
document.getElementById('&lt;%=btnSave.ClientID%&gt;').value='Saving...';
$('#Block').block({message:'Please wait...',css: { border: '3px solid #a00' }}); 
</code></pre>
