I am trying to select a browser element that contains exact text.
<span>My Text</span>
<span>My Text and Other Text</span>
span.filter(function() {return $(this).text()==='My Text';})
Should this work? Are there any limits imposed on the jQuery selectors?

Report
All responses (
Answers (