title: window.location.replace - POST version?
body: <p><code>window.location.replace()</code> can issue a GET request to target URL and replace the browser "back" history. </p>
  
  <p>Is there any method to issue a POST request to target URL and replace the browser "back" history as well (with/ without jQuery is fine)?</p>
  
  <p>Currently using the following code to issue a POST request, but it does not replace the "back" history:</p>
  
  <pre><code>var actionForm = $('&lt;form&gt;', {'action': 'register.php', 'method': 'post'}).append($('&lt;input&gt;', {'name': 'action', 'value': 'user_register', 'type': 'hidden'}));
  actionForm.appendTo('body').submit();
  </code></pre>