title: Javascript/html keep url params
body: <p>say I provide someone with a link to my page that looks like the following</p>
  
  <blockquote>
    <p>www.linkone.com?something=ten</p>
  </blockquote>
  
  <p>When they visit the page, the param will be visible within the url for that page.  If on that page I then have a link like so</p>
  
  <pre><code>&lt;a href="linktwo.html"&gt; Link Two &lt;/a&gt;
  </code></pre>
  
  <p>When they click on it, Link Two's url will look like</p>
  
  <blockquote>
    <p>www.linkone.com/linktwo.html</p>
  </blockquote>
  
  <p>Is there any way to add the param from the first link onto any other links within the page?  So when they visit Link Two, I want to url to end up being</p>
  
  <blockquote>
    <p>www.linkone.com/linktwo.html?something=ten</p>
  </blockquote>
  
  <p>I know it is probably possible via javascript, but the homepage has a lot of links on it to other pages within the site, and I need to param on all links.  What is the best way to achieve this?</p>
  
  <p>Thanks</p>