How can I insert an element into another for specific parent class only? [duplicate]
This question already has answers here: Wrap text within element (6 answers) Wrapping the text of a div with a link with jQuery (1 answer) How to wrap a button’s text/value in a span? (2 answers) Closed 8 mins ago. I have similar problem as mentioned HERE but need to add <span class=”my-class” and </span […]
jQuery insert SPAN in H1 for specific parent class only
I have similar problem as mentioned HERE but need to add <span class=”my-class” and </span around text inside h1 (without special characters in it), also need to add this only for specific parent element class only (probably can skip “ast-container” class – see below).