title: use a tag to submit form to other page
body: <p>I wanted to use an a tag to submit a form to another page. However, when I do this, and use href="" to go to this page, the form seems not to be submitted. It looks like this:</p>
  
  <pre><code>&lt;form id="SomeForm" action="SomePage.php" method="GET"&gt;
      &lt;!--Here are some inputs--&gt;
  &lt;/form&gt;
  
  &lt;a href="SomePage.php" onclick="javascript:document.getElementById('SomeForm').submit();"&gt;
      The link to click on
  &lt;/a&gt;
  </code></pre>
  
  <p>When clicking on this link, The browser goes to the right page, but the submitted form is gone. I used a javascript code line to make one big URL for the page so it looked like it was submitted, but I would also like to be able to submit forms with method="POST". It workes if it is on the same page and href="#", but otherwise it doesn't. Is there a way to do this?</p>