I performed a simple test and it appears that the selector does work as you have described.
The following line was added to a test HTML page:
<a href="http://thisplace.com/item.pdf"">test href</a>
Then in the Console, added the following jQuery statement to test your selector:
console.log('element with item.pdf clicked') ;
When clicking on the link "test href" on the test page, the message "element with item.pdf clicked" displayed.
Can you provide some additional detail? Are you seeing any errors? Are you attempting this through an onHandler extension?
yep, should work.
using clickhandler 1.6+
selector is a[href$'"thompson_truck_case_study.pdf"]
I tried with the other version of jquery but was not successful there either.
the link is valid.
I think the problem may be the way the selector is written in the selector field?