title: JS access variable from script tag
body: <p>Can I forward a variable from script tag to a current script? Something like this:</p>
  
  <pre><code>&lt;script type="text/template" id="myscript" myvar="123123"&gt;
  
      var filename = document.getElementById("myscript").myvar;
  
  &lt;/script&gt;
  </code></pre>