当前位置: 代码迷 >> Java相关 >> 如何在表单后面勾选选中整行内容
  详细解决方案

如何在表单后面勾选选中整行内容

热度:42   发布时间:2016-04-22 19:31:55.0
怎么在表单后面勾选选中整行内容
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead><tr><th>序号</th><th>主机名称</th><th>IP地址</th><th>操作</th></tr></thead>
<c:forEach items="${recycles}" var="instance" varStatus="status">
<tr>
<td>${recycles.index+1}</td>
<td>${recycles.name}</td>
<td>${recycles.IP}</td>
</tr>
</c:forEach>
</table>

在操作那里添加个勾选按钮选择正行提交
------解决思路----------------------
<td><input type=checkbox ></td>
  相关解决方案