Hi All, Please help me on select enabled/disabled by checkbox in a list with in logic iterate I am not able to pass the index for disableing select box basing on check box enale/disable please look at the code part onclick="this.form.subscriptions['<%=index %>'].selectedWalletItemId.disabled=this.checked?false:true;" in the following code. I tried it different ways ...but no success. Other wise also if I want to use simple onclick=" sumbit()", to do something action class and refresh, I do not know how to pass the index or other parameters through Any amount of help is really appreciated as this is code in production. Thank you -Udaya Allu <logic:iterate name="safeRenewForm" property="subscriptions" id="subscriptions" indexId="index"> <td> <html:select name="subscriptions" property="selectedWalletItemId" indexed="true" onchange="alert(this.name);"> <html:option value="Select Credit Card">Select Credit Card</html:option> <logic:iterate id="idx" name="safeRenewForm" property="walletItems" indexId="index" > <bean:define id="blah" name="idx" property="walletItemID"/> <html:option value="<%= "" + blah %>"> <b><bean:write name="idx" property="tender.cardType.cardName"/></b> xxxx-<bean:write name="idx" property="tender.last4Digits"/> <bean:write name="idx" property="tender.expMonth" />/<bean:write name="idx" property="tender.expYear"/> </html:option> </logic:iterate>
</html:select> </td> <td align="center"><html:checkbox name="subscriptions" property="statusEnabled" indexed="true" onclick="this.form.subscriptions['<%=index %>'].selectedWalletItemId.disabled=this.checked?false:true;"/></td> <logic:iterate> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]