I am using Struts1; I am iterating through a list using logic:iterate
<logic:iterate .... indexId="index">
and i would like to use the "index" property as an argument to be passed to a javascript function while pressing a button
<ctrl:button ... onclick="return functioncall (index)"/>
how is the sitax to access the correct "index" property inside the ctrl:button tag?
Thank you