Good day.
There is a directory page. There is a picture link: 
She leads here, home.
The title “Our Products” is anchored. There are tabs (bookmarks).
Task: it is necessary that when you click on the link from the first screen, there was not just a transition to the main page, but the second tab was opened (the one that is called “Aviation Components”).
I tried this:
$(".aviation-img-cont").click(function(){ $("#tab_l2").click(); }); It does not work, although if you just alert, it works. Tab, in this case, is a label. Maybe that's the point.
href="/foo#bar", on the second page you check it and perform the actions$(function(){ if (location.href заканчивается на '#bar') { $el.click(); } })- Lexx918