T
TheVooDooChild
I have a JSP with a hidden field:
<html:hidden name="FrmCustomerHolding" property="localTag" />
localTag is of type Tag in my form (private Tag localTag and has
methods "getTagName()" & "getTagValue()", both return a String.
In my JSP I need to access the methods of this object and I'm getting
the error "Object doesn't support this property or method". I'm trying
to access these methods in a javascript function and the code is:
newFile.WriteLine("Local Tag: " +
document.getElementById("localTag").getTagName().value +
document.getElementById("localTag").getTagValue().value);
Can someone please help with this?
Thanks!
<html:hidden name="FrmCustomerHolding" property="localTag" />
localTag is of type Tag in my form (private Tag localTag and has
methods "getTagName()" & "getTagValue()", both return a String.
In my JSP I need to access the methods of this object and I'm getting
the error "Object doesn't support this property or method". I'm trying
to access these methods in a javascript function and the code is:
newFile.WriteLine("Local Tag: " +
document.getElementById("localTag").getTagName().value +
document.getElementById("localTag").getTagValue().value);
Can someone please help with this?
Thanks!