没必要
直接用JAVASCRIPT就行了:
复制内容到剪贴板
代码:
<table border="1" id="table">
<tr>
<td>ninty</td>
<td>ixpub</td>
</tr>
<tr>
<td>csdn</td>
<td>joejoe1991</td>
</tr>
<tr>
<td>破锅</td>
<td>破零</td>
</tr>
</table>
第几行:<input type="text" name="row"/>
<br/>
第几列:<input type="text" name="col"/>
<input type="button" onclick="getValue()" value="get"/>
<script>
function getValue() {
var row = parseInt(document.all["row"].value)-1;
var col = parseInt(document.all["col"].value)-1;
var table = document.getElementById("table");
alert(table.tBodies[0].rows[row].cells[col].innerHTML);
}
</script>