come in=>
所在版块:社会百科 发贴时间:2004-03-16 02:59  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
<html>
<head>
<script>
function test()
{
var theTable = document.getElementById("tb");
var remove = theTable.deleteRow(1);
var button = document.getElementById("btn");
button.disabled=true;
}
</script>
</head>
<body>
<table id="tb" border=1>
<tr ><td><input id="btn" type=button value=delete onclick="test();"></td></tr>
<tr><td>this will be deleted</td></tr>
<tr><td>test</td></tr>
</table>
</body>
</html>
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

To live as if you were to die tomorrow, to learn as if you were to live forever.
 相关帖子 我要回复↙ ↗回到正文
JSP问题 澳洲野狗   (103 bytes , 405reads )
try tbody for that row! client-side. websg.net   (0 bytes , 155reads )
come in=> 她的妈妈不爱我   (415 bytes , 264reads )
w3shools got a lot examples. a very good websites 她的妈妈不爱我   (63 bytes , 211reads )
cool site, thx! 澳洲野狗   (0 bytes , 159reads )
why not try client side scripting? instead of JSP? 灌装椰子泪泪   (0 bytes , 169reads )