title: Link button with data in url
body: <p>I would like to make a button link to another page.  Furthermore, I would like to include some data in the url.  The onclick method works, but I was trying to do it without JavaScript.  The form submit method almost works, but does not send the data (id1 and id2).  Any suggestions?  Is it best to use JavaScript?  Thank you</p>
  
  <pre><code>&lt;input type="button" value="Clickable Button - onclick" onclick="window.location.href='http://www.google.com?id1=123&amp;amp;id2=345'" /&gt;
  
  &lt;form action="http://www.google.com?id1=123&amp;amp;id2=345"&gt;&lt;input type="submit" value="Clickable Button - Submit" /&gt;&lt;/form&gt;
  </code></pre>