Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

  • Gjin antwurden
  • 1 hat dit probleem
  • 3 werjeftes
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?

Bewurke troch Wayne op