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

232
Views
ejecutar múltiples enlaces con un script sin páginas abiertas

cuando abro esta página pronostico_match.php?fixtureid=<?php echo $item['matchid'];?> esto ejecuta todo el script dentro y me da la página con todas las estadísticas por partido de fútbol, luego inserta datos en mysql db.

ahora necesito enviar varias páginas con un clic para cada matchid sin abrir todas las páginas, me gustaría ejecutar en segundo plano si es posible

Intenté esto a continuación, pero abrí como 40 enlaces. de todos modos, necesito ejecutar esto en segundo plano como cronjob HTML

 <ul class="links"> <li><a href="http://www.google.com/"></a></li> <li><a href="http://www.yahoo.com/"></a></li> </ul> <a id="open-all" href="#">OPEN ALL</a>

JQUERY

 $(function() { // On DOM content ready... var hrefs = []; $('.links a').each(function() { hrefs.push(this.href); // Store the URLs from the links... }); $('#open-all').click(function() { for (var i in hrefs) { window.open(hrefs[i]); // ...that opens each stored link in its own window when clicked... } }); });
about 4 years ago · Juan Pablo Isaza
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!