<input type="sumbit" name="" id="chinax">
<div id="test" class="class" title ="title"></div>
<script>
var div = document.getElementById("chinax");
alert(div);
</script>alert(div)弹出的不是chinax吗,为什么却是[object HTMLInputElement]?
添加回答
举报
0/150
提交
取消