pass a value from javascript to html
I have a hidden field

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

I have a hidden field

    <input type="hidden" name="smname" />
Now i have a function in a js file count(); How can I assign the return value to the hidden field?