I have a link on Page A.
Page B has two tabs, with the content of tabs 1 and tab 2 currently set to "display:none". I want clicking the hyperlink on page A to automatically open or activate the second tab on page B.
I am seeking a solution using JavaScript.
PageA.html
<a href="PageB.html">Show Second Tab on 'PageB.html'</a>
PageB.html:
<div id="tab1" style="display:none;">This is the content for the first tab</div>
<div id="tab2" style="display:none;">This is the content for the second tab</div>
Thank you