获取radio的value值
柏澄君 2013-07-14 10:06:44 在数据库中查询的几条数据后,在jsp页面显示:
<logic:iterate id="student" name="student" scope="request">
<input type="radio" name="radio" id="radio" value="<bean:write name="student" property="username"></bean:write>">
<bean:write name="student" property="username"></bean:write>
<bean:write name="student" property="score"></bean:write>
</logic:iterate>
其中vlaue是以词条数据赋值的(不知道可以不)
在下边有一个删除button
<input type="button" value="<bean:message key="index.delete" />" onclick="form.submit()">
在点击时,好像无法获取radio的value值,哪位大神帮忙指导一下 感激不尽