var f = a('<span class="customSelectInnerText" />');
var e = a('<span class="customSelect"><span class="customSelectInner"></span></span>').append(f);
結果:jQuery的追加嵌套
<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>