jQuery selector for a href

Silver Contributor
Silver Contributor
I am trying to find a Jquery selector that works for the following code: Warranty I tried the web companion element selector #layout.searchbar div div.app-wrapper div.app-menu ul.help-nav.expandable li a Which did not work Any suggestions?
3 REPLIES 3

jQuery selector for a href

Employee Emeritus
James, Can you provide a page and a link that we can see so we can help you with?

jQuery selector for a href

Employee Emeritus
James, Along with my answer above you can do something like this: a[href='home.html'] For simplicity sake I used "home.html" as the href value, but you would change "home.html" with the value of the href.

jQuery selector for a href

Silver Contributor
Silver Contributor
thanks, James, I was totally over complicating things, it works now!
Public