代码如下: function selectAll(obj) { var theTable = obj[removed][removed][removed][removed]; var i; var j = obj[removed].cellIndex; for(i=1;i<theTable.rows.length;i++) { if(theTable.rows[i].cells.length<j) continue; var objCheckBox = theTable.rows[i].cells[j].getElementsByTagName(‘input’)[0]; i