title: jQuery click event first then follow url
body: <p>I want to call a click event and then follow the href url. </p>
  
  <p>HTML Link:</p>
  
  <pre><code>&lt;a class="autoSave" href="?year=2013&amp;amp;week=42"&gt;←&lt;/a&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code> $(document).ready(function() { 
  
       $('.autoSave').click(function(event){
         event.preventDefault();
         $('.submitForm').click(); //HTML Form that I'm wanting a submit to happen
         window.location = $(this).attr('href');
       });
  
   }); 
  </code></pre>
  
  <p>The code above will just follow the url and not submit the form.  If I omit the window.location call, the submit works.</p>