Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

124
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda