为什么不会出结果
<script type="text/javascript"> var otest = document.getElementById("test"); var new=document.createElement("li"); new.innerHTML="PHP"; otest.insertBefore(new,otest.lastChild); </script>
<script type="text/javascript"> var otest = document.getElementById("test"); var new=document.createElement("li"); new.innerHTML="PHP"; otest.insertBefore(new,otest.lastChild); </script>
2017-01-14
举报