struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benz <>
Subject html:select javascript onchange passing parameter problem
Date Wed, 10 Oct 2007 03:19:20 GMT

this is my part of jsp:
<logic:iterate id="loop" indexId="idx" name="data">
  <html:select name="loop" property="sts_1" onchange="checkStsCombo(this,
'hasil_1', '<%=idx%>');">

I get the html result:
  <select name="sts_1" onchange="checkStsCombo(this, 'hasil_1',

The '<%=idx%>' text in jsp should be rendered as the value of idx valu which
is such as '0','1',etc.
Can anybody tell me why it doesn't works?

Best Regards,

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message