<div class="">
<div class="">
<table class="class-table">
<thead>
<tr>
<th>姓名</th>
<th>电话</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<tr>
<td><input value="d4008d25-710e-4a75-97cf-78a547002a78" type="hidden">冯嘉欣</td>
<td><input lay-skin="switch" lay-filter="switchTest" lay-text="有异常|无异常" type="checkbox"></td>
<td><textarea placeholder="请输入内容" class="layui-form layui-textarea " id="textareaF869271B27064A2F81FA98D19C23EAC1"></textarea></td>
</tr>
</tbody>
</table>
</div>
</div>
//多个tbody
$("#containergrid").find('tbody').each(function (index, item) {
$(this).find('tr').each(function () {
var tdArr = $(this).children();
//td里的内容
var name = tdArr.eq(0).text();
//input的value
var expertid = tdArr.eq(0).find('input').val();
//选中:true 未选中:false
var checkbox = tdArr.eq(1).find("input[type='checkbox']").is(':checked');
//富文本框里面的内容
var info = tdArr.eq(2).find('textarea').val();
//TODO...
});
});