https://www.cnblogs.com/white0710/p/7095881.html
<div id="apDiv1">
<div>
<div id="apDiv2" class="cla" οnclick="f1()">11</div>
<div id="apDiv3" class="cla">22<span>bbb</span></div>
<div id="apDiv4" class="cla">33</div>
</div>
</div>
<script>
function f1(){
var obj = $("#apDiv3").clone();
obj.find(':nth-child(n)').remove();
alert(obj.html());
}
</script>
结果 22