Consider an HTML
page named page1.html
with the following simple structure:
<html>
<title>Page1</title>
<body>
<h1>Hello</h1>
</body>
</html>
Is it possible to change<h1>
text on page1.html
with JavaScript from page2.html
?
If it’s possible, how can one achieve this?