语法:
TABLE . deleteTFoot()
参数:
无
返回值:
无
说明:
从 table 中删除 tfoot 及其内容。
假如 table 中存在一个或多个 tfoot ,则该方法将仅仅删除其中第一个 tfoot 及其内容。
<script>
var i_nowheight=240;
function rdl_doDel(){
document.all.myTable.deleteTFoot();
i_nowheight-=20;
window.resizeTo(320,i_nowheight);
}
</script>
<table cellspacing=1 id=myTable><tfoot><tr><td>第1个TFOOT</td></tr></tfoot><tfoot><tr><td>第2个TFOOT</td></tr></tfoot></table>
<br><input type=button value=" 删除TFOOT " onclick="rdl_doDel();">
