|
|
|
|
复制本帖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.
|
|