title: Passing Javascript variable to <a href >
body: <pre><code>&lt;script language="javascript" type="text/javascript"&gt;
  var scrt_var = 10; 
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML Part:</p>
  
  <pre><code>&lt;html&gt;
   this is a &lt;a href ="2.html &amp; Key= scrt_var"&gt;Link  &lt;/a&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I just want to sent the javascript variable to link (url parameter) </p>
  
  <p>No AJAX</p>