title: use a javascript variable in inline CSS
body: <p>I want to do the following:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div id="theDiv" style="width: aJavascriptVariableOrFunctionCallToGetValue"&gt;TESING&lt;/div&gt;
  </code></pre>
  
  <p>I don't want to use, elsewhere in the code, </p>
  
  <pre><code>document.getElementById('theDiv').style.width = someValue;
  </code></pre>
  
  <p>I actually want that div, <strong>when it first appears</strong>, to have a width set, inline, by either a JavaScript variable <strong>or</strong> by way of a call to a JavaScript function.</p>
  
  <p>How can I do this?  </p>