title: Showing loading message on form submit - back button woes
body: <p>I'm showing a div with a loading message and image when a form is submitted:</p>
  
  <pre><code>$("#some_form").submit(function(){
    $("#some_form #loading").show();
  });
  </code></pre>
  
  <p>This works as I expected. But, if you use the back button to go back, the loading div is still visible because the browser has not reloaded the page.</p>
  
  <p>Is there a browser event I could use to hide the loading div when the back button is used? Or perhaps I'm going about the whole thing the wrong way?</p>
  
  <p>Thanks for any help!</p>