I'm looking for a way to insert a span tag inside a tag like this by jQuery but I can't find anything that works:
I have this:
<div class="linkscorponoti"><a href=url target=_blank>Oficial</a></div>
I need to insert a span tag that looks like this:
<div class="linkscorponoti"><a href=url target=_blank><span>Oficial</span></a></div>
I tried it but it didn't work:
$(".linkscorponoti").find("a").add( "span" );