title: How to use jQuery variable into html
body: <p>This is an example what i need to do.</p>
  
  <p>jQuery:</p>
  
  <pre><code>&lt;script&gt;
     $(document).ready(function(){
        var inputvalue = "field 1";
     });
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;div&gt;&lt;input value="&lt;!-- inputvalue here --&gt;"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>