var f = a('<span class="customSelectInnerText" />');
var e = a('<span class="customSelect"><span class="customSelectInner"></span></span>').append(f);
结果是:
<span class="customSelect>
<span class="customSelectInner"></span>
<span class="customSelectInnerText">Text</span>
</span>
而不是想要的:
<span class="customSelect>
<span class="customSelectInner">
<span class="customSelectInnerText">Text</span>
</span>
</span>