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 geting the right jquery selector to do this.
It seems like this should work...
$(".js-rating-labelText:contains('unrated')").css("visibility", "hidden");
...but does not. .js-rating-labelText is a class set on the text.