function addDom(){ var html = '<li>点我增加一个li</li>'; $("ul").append(html); } $("ul li").click(function(){ addDom(); })
<ul> <li>第一个li</li> </ul>