Is it possible using jQuery to select all <a> links which href ends with "ABC"?
<a>
For example, if I want to find this link <a href="http://server/page.aspx?id=ABC">
<a href="http://server/page.aspx?id=ABC">
$('a[href$="ABC"]')...
Selector documentation can be found at http://docs.jquery.com/Selectors
For attributes:
= is exactly equal != is not equal ^= is starts with $= is ends with *= is contains ~= is contains word |= is starts with prefix (i.e., |= "prefix" matches "prefix-...")
1.4m articles
1.4m replys
5 comments
56.9k users