<table border=1>
<tr>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
</tr>
<tr>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
</tr>
<tr>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
<td onclick='alert("行數(shù):"+(this.parentElement.rowIndex+1)+"\n列數(shù):"+(this.cellIndex+1))'>點(diǎn)我</td>
</tr>
</table>
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。