日期:2014-05-16  浏览次数:20448 次

jQuery 怎么获取表格里面的值
本帖最后由 Gemerl 于 2013-07-19 16:02:31 编辑
效果图是


源码:

<div class="title_c">
<h3 class="title_right2">
人员列表

</h3>
<a class="btn_small f_right mright10" href="#"><b
class="add_select"></b>批量导入</a><a
class="btn_small f_right mright10"
onclick="showpop('del')"><b class="del"></b>删除</a>
<!-- onclick="showpop('add_p')" -->
<a class="btn_small f_right mright10" id="edit"><b class="edit"></b>修改</a>
<a class="btn_small f_right mright10"
onclick="showpop('add_p')"><b class="add"></b>新增</a>

</div>

<div class="mtop10">
<div class="over_x_sco">
<table width="100%" cellpadding="0" cellspacing="1"
class="table_list3 table_border_line evenRow">

<tr class="background_th">
<th align="center">
<input type="checkbox" name="checkbox4" id="checkbox4" />
</th>
<th>

</th>
<th>
员工编号
</th>
<th>
姓名
</th>
<th>
集采供应商标识
</th>
<th>
手机
</th>
<th>
国籍
</th>
<th>
性别
</th>
<th>
所在组
</th>
<th>
有效起始日期
</th>
<th>
有效终止日期
</th>
</tr>
<s:iterator value="pm.rows" var="emp" status="ss">
<tr>
<td align="center" valign="middle">
<input type="checkbox" name="checkbox5" id="checkbox5" />
</td>
<td>
<s:property value="#ss.count"/>
</td>
<td>
<s:property value="#emp.id"/>
</td>
<td>
<s:property value="#emp.empName"/>