i’ve got this:
<div class="" id="fancy_hover">
<a href="home.html" id="start_writer"></a>
<div>
<p class="hidden" style="display: block;">click here to see this event with all the bells and whistles</p>
</div>
</div>
I need to do an equivalent of .find() but for the string "click here" instead of a node, i then need to wrap it in an <a> tag.
Whats the best approach with jquery?
Use
:containsfilter selector:To wrap it in link:
To wrap whole text in link:
More Info: