<script>
(function(){
this.div = document.createElement("div");
this.div.innerHTML = "never-online";
document.body.appendChild(div);
this.div.onclick = function(){
alert(this.tagName);
}
}
)()
</script>
<body>hello</body>
body.appendChild的方法
最新推荐文章于 2023-07-04 17:07:39 发布