how to access a html:hidden element from javascript
I have a hidden element in my form
<html:hidden name="mtrResolutionForm" property="resolutionBean.selectId" />
I would like to assign a value to it in my javascript function
How do I access this hidden element in Javascript?
I tried using the following:
function selVal(ctl)
{
document.all.resolutionBean.selectId=ctl.value;
}
I cant use document.getElementById() since <html:hidden> tag doesnt support id attribute.
Even document.formName.hiddenPropertyname.value doesnt work here
Can somebody help me out with this please?
Thanks!

