title: $(window).unload is not firing
body: <p>I want to execute an action method when the user is abandoning a particular page using jQuery.</p>
  
  <p>The page has the following code:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
  
          $(window).unload(function () {
              alert("Handler for .unload() was called.");
          });
  
      &lt;/script&gt;
  </code></pre>
  
  <p>When I navigate away from the page I never see the expected alert.</p>