I am trying to select a list element that contains the text
"ladies’ short-sleeve tee". I have tried

$("li:contains(ladies' short-sleeve tee)").addClass("selected");
$("li:contains('ladies\' short-sleeve tee')").addClass("selected");
$("li:contains(ladies’ short-sleeve tee)").addClass("selected");
 and
$("li:contains(ladies%27 short-sleeve tee)").addClass("selected");

with no luck. Does anyone know how I might accomplish this? I don't
know if jquery sees the html entity, or the apostrophe, and I think
even if I did know the answer to that, I still couldn't figure it
out.

Any help is much appreciated.

Reply via email to