title: ajax on success post form and change page
body: <p>i got one strange requirement from my client , do not how to solve it .</p>
  
  <p>am sending data through ajax , on success i want to goto another page by displaying message there , i handle this issue with GET method that when ajax success then using </p>
  
  <pre><code>window.location.assign('Confirmation.aspx?d=data')
  </code></pre>
  
  <p>and switch to desire page , but client say not GET :D , so any idea how to do it with post .</p>
  
  <p>what i tried :) </p>
  
  <pre><code>&lt;form action="Confirmation.aspx" method="POST" id="mok"&gt;
      &lt;input id="mail" type="hidden" value="data" name="m" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>$("#mok").submit();
  </code></pre>
  
  <p>but no success , page is not changing , am on same page </p>