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

146
Views
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
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!