结果为什么是[object Text][object Text]
<script type="text/javascript">
var x=document.getElementById("con");
document.write(x.firstChild);
document.write(x.lastChild);
</script>
<script type="text/javascript">
var x=document.getElementById("con");
document.write(x.firstChild);
document.write(x.lastChild);
</script>
2017-03-15
举报