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

226
Views
Element Text Changes in Developer Tools but Not in UI

I'm not understanding why text changes I'm making to an element are only appearing in developer tools but not in the user interface itself.

Here's a gif of what happens when I run the function. Notice how:
• messages in console explicitly reveal alternating files
• a final "DONE" message appears when the last file is reached
• each file index in console is also appearing in the "text" element within div.current_progress
element text changing in dev tools but not ui.gif

Methods I've attempted that lead to the same result:
• making sure the CSS isn't hiding, making transparent, or obfuscating the text or parent elements in any way
• element.change()
• worker threads
• changing fs sync functions to promises with nested callbacks
• changing the for loop to a recursive function
• running the progress checker as a separate, recursive function and only updating the text field after a 100ms delay until the file processing function completes
• ingesting 1.2g caffeine and staring at my screen in utter disbelief

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!