Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

use a link to change focus to another tab and scroll to a anchor tag with a named ID

  • No replies
  • 1 has this problem
  • 6 views
more options

I am creating a webpage that has a list of links in one table that are used to go to a specific point in another table using <A href='#identifier'> in the link and <A id='identifier'> in the target table. The list is very long, so I am creating the list of links in a separate document until it is completed. Until then, I test the links by having the link href set to 'webpage.html#identifier', but all this ends up doing is opening another tab and reloading the page when it's already open in a different tab. I am using the target='_blank' attribute to go to another tab, but I'm sure this isn't the proper way to do it.

Is there a way to use a link to go to an already open tab and perform the search for the identifier in that tab rather than opening a new tab and reloading the page repeatedly?

I am creating a webpage that has a list of links in one table that are used to go to a specific point in another table using &lt;A href='#identifier'&gt; in the link and &lt;A id='identifier'&gt; in the target table. The list is very long, so I am creating the list of links in a separate document until it is completed. Until then, I test the links by having the link href set to 'webpage.html#identifier', but all this ends up doing is opening another tab and reloading the page when it's already open in a different tab. I am using the target='_blank' attribute to go to another tab, but I'm sure this isn't the proper way to do it. Is there a way to use a link to go to an already open tab and perform the search for the identifier in that tab rather than opening a new tab and reloading the page repeatedly?

Modified by Wayne