Hi Struts users:

I'm wondering if it would be possible to pass status.index attribute of
s:iterator to a javascript function.
Something like this:


<s:iterator value=*"notificationList"* var=*"notification"* status=*"stat"*>

<tr>

<td scope=*"row"*>

<s:checkbox name=*"IdNotification"* value=*"%{selected}"* fieldValue=*
"%{notificationID}"* onclick=*"javascript:markNotification(stat.index);"*/>

</td>

</tr>

Thanks in advance!

Reply via email to