title: Passing variables with POST to another page with Jquery
body: <p>I am relatively new to Jquery and I was wondering how would one post variables to another page and then redirect? I used ajax function, the redirect works fine, but no variables are captured in POST (they are empty)</p>
  
  <pre><code>function linkWO() {
  
      $.ajax({
              type: "POST",
              contentType: "application/json; charset=utf-8",
              url: "LinkTagOut.aspx",
              dataType: "json",
              data: "{id=1}",
              complete:
              function () {
                  window.location = "LinkTagOut.aspx";
              }
  
      });
  }
  </code></pre>
  
  <p>in my aspx file</p>
  
  <pre><code>&lt;a href="javascript:void(0);" onclick="return linkWO();"&gt;&lt;span&gt;Link&lt;/span&gt;&lt;/a&gt;
  </code></pre>