一个radio,如何实现点击后取得radio本身的值和这个radio后面同一行其他控件的值(come in 说的更清楚点)
<logic:iterate id="element" name="InfoList">
<tr><td>
<html:radio idName="element" value="theId" property="seaRouteId" onclick="setSeaRouteId(this);"/></td>
<bean:write name="element" property="theTime" />
</td></tr>
</logic:present>
现在的问题就是 我点击这个radio后,要能实现在数据库里删除 由theId和theTime2个主键组成的记录
我该怎么获得当前点击的radio所在行的theID和theTime?
(以上代码可以修改,只要能实现我的目的就可以了)