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

148
Visualizações
JS function no longer being recognized because of Browserify?

I have a program that has a reset button implemented. It has been working perfectly fine for weeks until today and all I did was install browserify so that I can use BigDecimal. I get the error

(index):18 Uncaught ReferenceError: reset is not defined
    at HTMLButtonElement.onclick ((index):18)

Which is just referring to

<button type="button" onclick="reset();">Reset</button>

It seems that my index.html cannot reach my script.js file. It asks me if I want to remove my unused declaration for reset() but I am definitely calling it in index.html and it's worked flawlessly in the past. In my index.html I have a script tag referring to bundle.js, which is from browserify. If I move it to the top of my page then I get different errors.

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