title: jQuery selector where text = some value
body: <p>I have an object (in this case a rating object from js-kit) that I want to make invisible if the rating value is 'unrated'. I'm having trouble with getting the right jQuery selector to do this.</p>
  
  <p>Even though the code below seems like it should work, it does not.</p>
  
  <pre><code>$(".js-rating-labelText:contains('unrated')").css("visibility", "hidden");  
  </code></pre>
  
  <p><code>.js-rating-labelText</code> is a class that's set on the text.</p>