Select anchor tag which href contains some string


 $('a[href$="ABC"]')...

/*
$= ends with selector
= is exactly equal
!= is not equal
^= is starts with
$= is ends with
*= is contains
*/
More Info

http://docs.jquery.com/Selectors

Latest Comments

Leave a Reply

comment on this article