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

246
Views
No se puede usar un botón en el sitio web incrustado. ¿Por qué?

He incrustado un sitio web dentro de otro sitio web usando iframe.. <iframe src=..">.. Dentro del sitio web incrustado hay un botón de copia. Cuando lo uso en el sitio web (sin incrustar) funciona. Pero cuando lo uso en iframe no..

Mi código de botón: <button onclick="copy()">copy</button> Js:

 function copy() { let copyText = document.getElementById("resu"); copyText.select(); copyText.setSelectionRange(0, 99999); /* For mobile devices */ navigator.clipboard.writeText(copyText.value.replace(/A /, "A ")).then(function() { alert("Copied to clipboard."); }, function(err) { alert("Could not copy text."); }); }

¿¿Qué ocurre??

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!