title: Javascript use Variable in name
body: <pre><code>function test(art) {
  
          document.formular.eval(art+"_name").value =  "Test";
  } 
  </code></pre>
  
  <p>This gives an <code>eval is not a function error</code>.    </p>
  
  <p>I tried <code>document.formular.[art+'_name'].value =  "Test";</code><br>
  Which won't work either.</p>