How to insert a javascript variable in <a href=""> : <pre><code>I have a javascript variable BASE_URL='http://localhost/BKTHP_WEB_NEW/';
</code></pre>

<p>Now I want to insert it inside a  </p>

<pre><code>something like &lt;a href="BASE_URL+\view"&gt;
</code></pre>
