例如,我有:
<span class="obfuscate oxy">abc</span>
<style>.oxy::after{content:"n";}</style>
<span class="obfuscate sin">text 1<span class="a">text in span</span>text 2</span>
<style>.sin::after{content:"h";}</style>
并希望它变成这样:
n
<span class="obfuscate oxy">abc</span>
h
<span class="obfuscate sin">text 1<span class="a">text in span</span>text 2</span>
如何使用 JQuery?