<span class="one">
<span class="two three">text</span>
</span>
i can’t edit html. i can use only jquery. how can in this example delete class TWO and THREE and also modify text to: “new”
in my code is few class TWO. i must use for this class ONE
Assuming by “delete class” you mean remove the classes, you can use
removeClassandtext:Here’s a working example.