R
rohit.d.agarwal
Hi All,
I have two types of hidden elements on my form
Type A) the id of the element is static (see below)
<html:hidden name="qtyPlanForm" property="status" styleId="stat01" />
Type B) the id is generated based on the for() loop variable (see
below)
<html:hidden name="qtyPlanForm" property="posmId" value='<%="" +
posmVO.getId().intValue() %>' styleId='<%="pid" + i + "" + j%>'/>
When I do a document.getElementById() for Type A hidden element, I
get
an object, however if I try the same for Type B hidden element I get
null.
Please advise in case I am doing something incorrectly
- RoHiT
I have two types of hidden elements on my form
Type A) the id of the element is static (see below)
<html:hidden name="qtyPlanForm" property="status" styleId="stat01" />
Type B) the id is generated based on the for() loop variable (see
below)
<html:hidden name="qtyPlanForm" property="posmId" value='<%="" +
posmVO.getId().intValue() %>' styleId='<%="pid" + i + "" + j%>'/>
When I do a document.getElementById() for Type A hidden element, I
get
an object, however if I try the same for Type B hidden element I get
null.
Please advise in case I am doing something incorrectly
- RoHiT