js中的table中需要获取勾选行的值(jquery)
js中的table中需要获取勾选行的值(jquery)
<table width="100%" id="table1">
<thead>
<tr>
<th>序号</th>
<th>批次号</th>
<th>申请方</th>
<th>商户号</th>
<th>申请时间</th>
<th>源币种</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<s:iterator id="batchNumberDto" value="#request.list">
<tr>
<td>
<s:if test="#request.sta==1">
<input type="checkbox" name="SerialNo" value="#batchNumberDto.batchNumber"/>
</s:if>
<s:else>
1
</s:else>
</td>
<td><s:property value="#batchNumberDto.batchNumber" /></td>
<td>
<s:property value="#batchNumberDto.merchantName" />
</td>
<td>
<s:property value="#batchNumberDto.userId" />
</td>
<td>
<s:property value="#batchNumberDto.createTime" />
</td>
<td>
<s:property value="#batchNumberDto.sourceCurrency" />
</td>
<td>
<s:property value="#batchNumberDto.merchantId" />
</td>
</tr>
</s:iterator>
</tbody>
</table>
<a οnclick="associate();return false;"
href="#">关联</a>
。。。。。。。。。。。。。。。。。
版权原因,完整文章,请参考如下:js中的table中需要获取勾选行的值(jquery)
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)