Hi,
I have a problem to access a hidden field by javascript. The name of
the field has a dot in it. That's the problem. But I need that dot
because it is a "Stuts Property".
I'm using IE 6. This is my code:
<!--
function changeValue(myv alue) {
//works
document.forms[0].testProperty.v alue = myvalue;
alert('document .forms[0].testProperty.v alue='+document .forms[0].testProperty.v alue);
//doesn't work
//(javascript error:
//document.forms[0].dotted.prop is null or not an object)
document.forms[0].dotted.prop.va lue = myvalue;
alert('document .forms[0].dotted.prop.va lue='+document. forms[0].testProperty.v alue);
}
//-->
<form>
<input type="hidden" name="testPrope rty" value="">
<input type="hidden" name="dotted.pr op" value="">
</form>
Any comments are appreciated.
Cheers,
Jan.