Suppose I have two html files: 'page1' and 'page2'
Code in page1:
<html>
<body>
page1
<a href="page2.html" target="_blank"> click to go to page 2</a>
</body>
</html>
Code in page2:
<html>
<body>
page2
<a href="page1.html" target="_blank"> click to go to page 1 </a>
</body>
</html>
Using this I can open page2 using hyperlink in page1 in a new tab in the same window and viceversa
Is it possible to the same thing using javascript