标签:style blog io color ar sp div on log
$(‘table‘).mousedown(function(e){ celindex = $(e.target)[0].cellIndex; rowindex = $(e.target).parent()[0].rowIndex; });
.cellIndex对象是<td>.
.rowIndex对象是<tr>.
获取table的列和行位置.cellIndex和.rowIndex
标签:style blog io color ar sp div on log
原文地址:http://www.cnblogs.com/yesw/p/4092945.html