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

228
Views
¿Cómo puedo hacer clic derecho y abrir en una nueva pestaña?

quiero abrir los datos de mi enlace con el botón derecho y abrir eso por ahora estoy haciendo window.location = "/MMPDataQuality/ViewMMPReferenceData?validator_id=" + id; [1]: https://i.stack.imgur.com/fEmaB.png

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede usar el siguiente fragmento.

 window.open(url, '_blank').focus();

Ejemplo de página html

 <html> <body> <a onClick="javascript:openInTab('https://facebook.com')" href="" target>facebook</a> <script> function openInTab(url){ window.open(url, '_blank').focus(); } </script> </body> </html>
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!