你是指的这种效果吗?点击重复添加图片?我简单写了一个
<html>
<script>
function add(){
var image = document.createElement("img")
image.setAttribute("src","http://pic.rmb.bdstatic.com/6bfe08f9da0f7bfc65eeb29ee95ae0f0.jpeg");
document.body.appendChild(image);
}
</script>
<body>
<input type="button" onclick="add()" value="添加图片" />
</body>
</html>