In my Home page, I have one anchor link pointing to a page that I open in new tab. Now this page has a link pointing back to my Home page. So my question is how to target the Home page in its existing tab?
So lets say I have Home page as Home.html with link as PageA.html set as follows -
<a href="PageA.html" target="pagea">Page-A</a>
This allows me to always open PageA in existing tab if already opened. Now I want to open Home page from this page, so how to set the anchor tag so that it opens the Home page in the already opened tab of Home.html?
So basically user can click a link to open its page in a new tab if it doesn't already exists, but should open the existing tab if it exists. So in the above scenario, max of 2 tabs should be open. This is a requirement for our web portal.
Thanks a lot.
[Edited post to simplify problem with just 2 pages]