<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>chenhao </title>
</head>
<body>
<ul id="list">
<li>
苹果
</li>
<li>
香蕉
</li>
</ul>
<ul id="op">
</ul>
<button >点我</button>
<script>
var btn=document.querySelector('button');
btn.onclick=function()
{
var item=document.getElementById('lsit').firstChild;
var clone=item[0].cloneNode(true);
document.getElementById('op').appendChild(cloneItem);
}
</script>
</body>
</html>