If you have HTML like:
<div class="text">Good Stuff Hide Me</div>
<div class="text">Great Stuff Hide Me</div>
<div class="text">Best Stuff Hide Me</div>
and want to hide just "Hide Me" in every instance of div.text so you're left with
Good Stuff
Great Stuff
Best Stuff
How would you do that with jQuery?
This $("div:contains('Hide Me')").hide();
hides the entire string. How can you isolate the text you want to hide?