title: Append string to url using jquery or javascript
body: <p>Is it possible to append a string to url using the body? Something similar to the JSFiddle below.</p>
  
  <p><a href="http://jsfiddle.net/qXs77/" rel="nofollow">http://jsfiddle.net/qXs77/</a></p>
  
  <pre><code>&lt;a href="#" onclick="extendSearch('&amp;page=2');return false"&gt;hi&lt;/a&gt;
  </code></pre>
  
  <p>I want to append this query to the url: <code>?q1=iPodTouch&amp;x=79&amp;y=20</code></p>
  
  <p>When the user clicks the link they will be taken to the next page with the attached string above.</p>