dynamic link making and pure javascript
<p>I have a link like:</p>

<pre><code>&lt;a href="http://www.example.com/"&gt;test&lt;/a&gt;
</code></pre>

<p>and a javascript variable:</p>

<pre><code>var t='this';
</code></pre>

<p>How can I make the click on the link go to <code>http://www.example.com/'+this</code> using pure javascript? </p>

<p>(so clicking makes a dynamic url that has the variable t at the end)</p>
