function getCellByRC(tableCon,rowIndex,colIndex){
var table = $(""+tableCon)[0];//获取第一个表格
var tr = $(table).find("tr")[rowIndex];//获取第rowIndex行
var td = $(tr).find("td")[colIndex];//获取第colIndex列
var text = $(td).text();
return text;
}
Jqyery根据行序号和列序号获取单元格
最新推荐文章于 2016-12-24 10:51:27 发布