title: Slow down location.reload() in jQuery?
body: <p>Is there a way to slow down <code>location.reload()</code>?</p>
  
  <p>Currently I'm using <code>.toggle("slow")</code> in in some and <code>.hide("slow")</code> in others to show modal animations. One of the functions calls a refresh but the animation doesn't complete prior to the reload. It starts and gets halfway finished and then just gets cut off. I like to have it wait until the animation finishes and then reload.</p>
  
  <pre><code>$(".modal-box button").click(function(){
      $(".modal-box").hide("slow");
      if ($(this).is("#reset")){
          location.reload();
      }
  });
  </code></pre>