Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!