title: Jquery block UI when ajax starts
body: <p>I am trying to show blockui when ajax starts like so:</p>
  
  <pre><code> // block when ajax activity starts
      $(document).ajaxStart($.blockUI({ message: '&lt;h1&gt;&lt;img src="busy.gif" /&gt; Just a moment...&lt;/h1&gt;' }));
  </code></pre>
  
  <p>and then I want to stop it doing</p>
  
  <pre><code> // unblock when ajax activity stops 
      $(document).ajaxStop($.unblockUI); 
  </code></pre>
  
  <p>Problem Is that it won't load when ajax is performed what have I done wrong'??</p>