为了账号安全,请及时绑定邮箱和手机立即绑定

<body> <table border="1" width="50%" id="table"> <tr> <th>学号</th> <th>姓名</th> <th>操作</th> </tr> 不理解

这里是什么意思啊  var table = document.getElementById('table').lastChild; 为什么是通过ID获取,没有id啊,还有为什么是获取 table,写的是 border="1"啊,

学号 姓名 操作

正在回答

1 回答

 id="table"

这不是设置了id=table么...

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

<body> <table border="1" width="50%" id="table"> <tr> <th>学号</th> <th>姓名</th> <th>操作</th> </tr> 不理解

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信