title: How to use javaScript variable, inside html checkbox value parameter?
body: <p>In my file I have javaScript variable name 'testJava'</p>
  
  <pre><code>&lt;script&gt;
  var testJava = 'script Test';
  &lt;/script&gt;
  </code></pre>
  
  <p>At the bottom of the page I have a checkbox. <strong>I need to add 'testJava' variable to the value of the checkbox</strong>.</p>
  
  <pre><code>&lt;input type="checkbox" name="website[]" value= "I_WANT_TO_ADD_IT_HERE" /&gt;My Test&lt;br /&gt;
  </code></pre>
  
  <p><code>value = "&lt;script&gt;document.write(testJava);&lt;/script&gt;"</code> doesn't work</p>
  
  <p>Can anyone please tell me how to do this? </p>