Is there a way to have a link on one html change activate jquery changes in separate html page? I think this question is related, but I don't understand all of it.
When I click on a link in "page1.html", I want to open link and make changes to "page2.html".
Example:
page1.html
<a href="page2.html#about" class="tab-link">Link to Services</a>
page2.html
<div id="tab1" class="tab-content">
<h3>Services</h3>
</div>
<div id="tab2" class="tab-content">
<h3>Contact</h3>
</div>
script.js
$(".tab-link").click(function(){
$("#tab1").addClass("active");
});