title: Wait for jQuery show() to finish before continuing function?
body: <p>I can't make my div visible with the jquery show() until my function is over! It actually works in IE/FF but not in Chrome. How can I make sure my element is visible before continuing with my function?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>function doOperation(){
      $("#progressbar_area").show();
      (...)
  }
  </code></pre>