fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script> function displayResult(x){ alert("Cell index is: " + x.cellIndex); } </script> </head> <body> <table border="1"> <tr> <td onclick="displayResult(this)">单击显示单元格下标</td> <td onclick="displayResult(this)">单击显示单元格下标</td> </tr> </table> </body> </html>
运行结果