<Form>
<Table>
<Tr>
<TD class="ca" id="t1">The Value!</TD>
</Tr>
</Table>
</Form><p>
<input type=button value=show onclick="alert(t1.innerText);">
<input type=button value=del onclick="t1.innerText='';">
<Table>
<Tr>
<TD class="ca" id="t1">The Value!</TD>
</Tr>
</Table>
</Form><p>
<input type=button value=show onclick="alert(t1.innerText);">
<input type=button value=del onclick="t1.innerText='';">
那么可以用tableid.rows[i].cells[j]来访问第i+1行j+1列的td
若访问td中的对象还可以再加tableid.rows[i].cells[j].children[k]指td中第K+1个对象
innerText:指标签包含的文本
innerHTML:指标签包含的HTML代码
<Table>
<Tr>
<TD class="ca" id='id1'>The Value!</TD>
</Tr>
</Table>
</Form>
<input type='button' value='id1' onclick="this.value=document.getElementById('id1').innerHTML">