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

134
Views
js if statment to refresh iframe by checkbox

i have some code that is executed by a checkbox which then executes after a given time the it runs some code with a function name "ee()", I've texted it with alert and it doesnt execute whatsoever and instead stays dull the code is below please explain;


if (rap.checked == true){
      setTimeout(function () {
   ee();
  }, 100);
  } else {
    

      }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I need so see more code before answering, One possible thing is that it's being run right as the script is loaded. To fix that, you have to put it into a function like this. And then have the function be pointed to by a button.

function name(params) {
  if (rap.checked === true) {
    setTimeout(function() {
      ee();
    }, 100);
  } else {

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