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="qtyPlanFo rm" property="statu s" styleId="stat01 " />
Type B) the id is generated based on the for() loop variable (see
below)
<html:hidden name="qtyPlanFo rm" property="posmI d" value='<%="" +
posmVO.getId(). intValue() %>' styleId='<%="pi d" + i + "" + j%>'/>
When I do a document.getEle mentById() 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="qtyPlanFo rm" property="statu s" styleId="stat01 " />
Type B) the id is generated based on the for() loop variable (see
below)
<html:hidden name="qtyPlanFo rm" property="posmI d" value='<%="" +
posmVO.getId(). intValue() %>' styleId='<%="pi d" + i + "" + j%>'/>
When I do a document.getEle mentById() 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
Comment