<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"啊,
学号 | 姓名 | 操作 |
---|
这里是什么意思啊 var table = document.getElementById('table').lastChild; 为什么是通过ID获取,没有id啊,还有为什么是获取 table,写的是 border="1"啊,
学号 | 姓名 | 操作 |
---|
2016-04-08
举报