我这样写是哪里错了吗
<script type="text/javascript">
var mylist = document.getElementById("tcon");
var num = document.write(mylist.parentNode.parentNode.parentNode);
document.write(num.lastChild.innerHTML)
</script>
这样写打印不出来,是什么原理呢
<script type="text/javascript">
var mylist = document.getElementById("tcon");
var num = document.write(mylist.parentNode.parentNode.parentNode);
document.write(num.lastChild.innerHTML)
</script>
这样写打印不出来,是什么原理呢
2019-09-03
举报