根据行号可不可以删除table中对应的那一行?? rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 中括号一定要加吗?以前看到的都是object.deleteRow(obj)的... <table style="width:200px;height:100px;border:1px solid red" id="otable"> <tr> <td>1</td> </tr> <tr> <td>2</td> </tr> <tr> <td>3</td> </tr></table><input type="button" value=" Delete The Second Row " onclick="delRow()" /><script type="text/javascript"><!-- function delRow(){ document.getElementById("otable").deleteRow(1); }//--></script> <a>如何实现 点击复制<a>中的链接地址 关于 window.onload 的问题 怎样分别取得field1的值,都有哪几种方法 js have collection class ma?? javascript函数调用总是 下拉框问题的再续(可根据输入内容挑选下拉项) 2005年的最后一个难题~~ 页面长时间无操作,提前提示即将退出登录,如何实现? 表格问题 将下拉列表框的值传到文本框 一个JS控制CSS样式的问题? 很简单的一个脚本,大家帮我看看什么原因啊。。。
<table style="width:200px;height:100px;border:1px solid red" id="otable">
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
<tr>
<td>3</td>
</tr>
</table>
<input type="button" value=" Delete The Second Row " onclick="delRow()" />
<script type="text/javascript">
<!--
function delRow(){
document.getElementById("otable").deleteRow(1);
}
//-->
</script>