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

120
Views
Jumping toward text of CTRL-F inside iframe (pdf) embedded in page (js)

for a project I'm working on I have extracted certain sentences from a pdf (uploaded by a user) and I now embedded this pdf inside my page:

<iframe seamless
    id="PDFdisplay"
    src="pdfURL"
    type="application/pdf"
    height="1000px"
    width="100%"></iframe>

Now when I press CTRL-F and enter one of the sentences I extracted, it does find this sentence back in the pdf (it gets selected) but it does not jump towards this section of the HTML page like it normally does (and like I want it to). I presume it has something to do with the iframe being a different 'window' but unsure. Does anyone know of a way I can search inside the iframe (using js/ts) or to embed the pdf inside the page in a way such that the page will jump to the results of the CTRL-F event (also enabled using js/ts)?

Thanks in advance!

about 4 years ago · Santiago Gelvez
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!