nabrown78 wrote: > Thanks Ca-Phun Ung, I tried your suggestion, as you're quite right the > apostrophe I was using before was the wrong one. But no luck! I tried > this: > $("li:contains(ladies’ short-sleeve > tee)").addClass("selected"); > > You need to wrap the text string within the :contains filter within quotes, i.e.
$('li:contains("ladies’ short-sleeve tee")').addClass("selected"); > I wonder if there's a wild-card character I can just stick in there instead? > I don't think there is but I may be wrong :)