title: pass a value from javascript to html
body: <p>I have a hidden field</p>
  
  <pre><code>&lt;input type="hidden" name="smname" /&gt;
  </code></pre>
  
  <p>Now i have a function in a js file count(); How can I assign the return value to the hidden field?</p>