title: Block UI using jQuery
body: <p>I use jQuery to block ui like this</p>
  
  <pre><code>$('#send').click(function() {
         $.blockUI({ message: 
         '&lt;p id="loading"&gt;&lt;img src="images/busy.gif" /&gt; processing...&lt;/p&gt;'});  
          send();
         $(document).ajaxStop($.unblockUI); 
         setTimeout($.unblockUI, 2000); 
  
  }); 
  </code></pre>
  
  <p><code>send()</code> does some background processing and sets a response message in #loading tag. After the process is finished I want this message to stay for some seconds so I use the setTimeout but this does not work.</p>
  
  <p>Any ideas?</p>