why does location.reload() break my $.post?
<p>I have a select element, that posts (just fine) when changed using $.post. But if I want to reload the page, and add a <code>location.reload()</code> then it doesn't post. If I remove the line, it posts fine. Any ideas?</p>

<pre><code>        &lt;script type="text/javascript"&gt;
          $('#target').change(function() {
            $.post('&lt;?=$base_url?&gt;orders/create-new/order-items/&lt;?=$order_id?&gt;/target', 
              { 
                use_sort_modifier: $('select#target').val(),
                order_id: &lt;?=$order_id?&gt;
              } 
            );
            location.reload(); // Works without this line.
          });
        &lt;/script&gt;
</code></pre>
