title: Is there anyway I can put a variable inside a value tag in HTML?
body: <p>I would like to have a </p>
  
  <pre><code>      &lt;input type="text" value=VARIABLENAME /&gt;. 
  </code></pre>
  
  <p>Is there anyway I can do this? Putting value = "VARIABLENAME" interprets it as the name of the variable. But I would like to assign the content of the variable to the value property. </p>
  
  <p>EDIT: The variable is from the text content of one of my tables. I got the variable by using doing something like this in my script tag.</p>
  
  <pre><code>       selectedScheduleName = e.target.childNodes[0].wholeText; 
  </code></pre>
  
  <p>Thank you.</p>