Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

130
Vistas
How to open a new tab within window.open window - Javascript

I have below code for opening a new window.

window.open("https://www.w3schools.com", "_blank", "location=yes,height=570,width=520,scrollbars=yes,status=yes");

It opens new window as expected. If there is a link button within this new window, once user clicks on it, how to open it as new tab within the same new window instead of opening another new window in MS Edge.

Your help will be greatly appreciated. Thank you in advance!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I agree with serg06, when you use the provided code to open new window, you will find that it is just a popup, not a tab window. It doesn't have page navigation tool(go forward or backward), only when you convert it to a tab can you achieve your requirement. like this:

enter image description here

Otherwise, if you use target='_blank', you can only open a new tab in the parent page.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda