Reputation: 36178
What is a safe and reliable way to select the link below? I am having trouble to ensure I include the "Select" text in the selector to ensure I do not select another link:
<span class="pickerWrapper">....<a href="...">Select</a></span>
Upvotes: 1
Views: 136
Reputation: 17989
You will need to use the contains selector.
$(".pickerWrapper a:contains('Select')");
Upvotes: 4