61,115
社区成员
发帖
与我相关
我的任务
分享
<head>
<title></title>
<script type="text/javascript">
function remove_img() {
var img = document.getElementById("Img_Content");
document.body.removeChild(img);
}
</script>
</head>
<body>
<div id="Img_Content">
<img src="#"/>
</div>
<input type="button" value="移除图片层" id="btn" onclick="remove_img()" />
</body>