<table border="1" id="ta">
<tr>
<th><input type="checkbox">全选</th>
<th>学号</th>
<th>姓名</th>
<th>性别</th>
<th>专业</th>
</tr>
</table>
<button οnclick="addstu()">添加一个学生</button>
<button οnclick="addstus()">添加全部学生</button>
<button οnclick="deletestu()">删除一个学生</button>
<button οnclick="deletestus()">删除多个学生</button>
<script>
var temp1=document.createElement("div")
temp1.innerHTML="hello world"
cons
js删除多个学生对象代码怎么写
最新推荐文章于 2022-11-10 23:41:14 发布