title: JQuery - Add POST variables to a href link
body: <p>In a table I have links like this: <code>test.php?id=1</code></p>
  
  <p>I want to pass <code>prev_id</code> and <code>next_id</code> to test.php as well. (Purpose of these variables is create next/prev buttons; the list can be sorted by the user so no easy way to find out inside test.php.)</p>
  
  <p>However, I do not want <code>prev_id</code> and <code>next_id</code> to be visible in the URL for the user. Can I format the href like this:</p>
  
  <pre><code>&lt;a href="test.php?id=1" prev_id="5" next_id="45"&gt;
  </code></pre>
  
  <p>and use JQuery to "hijack" the link, keeping id as GET in the URL, but sending <code>prev_id</code> and <code>next_id</code> to test.php as POST?</p>