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

112
Visualizações
Trigger input field change event

I have an input field in HTML as shown below. This is for a PDF where I am changing pdf's page number. The page of the PDF is set to page 1 initially.

<input type="text" id="PDFNumber" name="name" value = "1">

I am triggering the change value using JS injection

var pdf = document.getElementById('PDFNumber');
pdf.value = "15"; //I can see the change happening

As you see I am changing the PDF page from 1 to 15. The page does not refresh to 15. What am I doing wrong? Basically in PDF there is an InputField for page number, where we type the page number and press enter. Do I have to also create an enter event here?

Sample PDF: http://www.pdf995.com/samples/pdf.pdf

about 4 years ago · Juan Pablo Isaza
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