var $span = $('.fr-checkbox-checkon'); //获取选中的复选框 var $tds = $("td").has($span); //定义选中复选框的单元格 var $trs = $("tr").has($tds); for (var i = 0; i < $trs.length; i++) { var name = $("td:eq(2)", $($trs[i])).find("div").html(); //获取选中的C3单元格的值 var a = $("td:eq(3)", $($trs[i])).html(); var b = $("td:eq(4)", $($trs[i])).html(); } alert(name); 为啥获取不到呢,显示undefined |