<td><s:select name="disctype" list="#ad.discList" id="disctype"
onchange="p_del()"
headerKey="0" headerValue="--All--" listKey="disctype"
listValue="disctype"></s:select>
<s:select name="ppuDiscountValue" id="ppuDiscountValue" disabled="true"
list="#ap.PPUDiscountList" listKey="ppuDiscountValue"
listValue="ppuDiscountValue"></s:select>
if(document.getElementById("disctype").value =="ppu discount"){
document.getElementById("ppuDiscountValue").disabled=false;
}else{
document.getElementById("ppuDiscountValue").disabled=true;
}
}
headerKey="0" headerValue="--All--" listKey="disctype"
listValue="disctype"></s:select>
<s:select name="ppuDiscountValue" id="ppuDiscountValue" disabled="true"
list="#ap.PPUDiscountList" listKey="ppuDiscountValue"
listValue="ppuDiscountValue"></s:select>
</td>
if(document.getElementById("disctype").value =="ppu discount"){
document.getElementById("ppuDiscountValue").disabled=false;
}else{
document.getElementById("ppuDiscountValue").disabled=true;
}
}