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

180
Views
Al hacer clic en cambiar el color de fondo y después de ejecutar otra función

Quiero hacer clic en la pregunta correcta de mi prueba. Cambiar el color de fondo y 1 o 2 segundos después de que myDiv no muestre nada así de correcto... pero primero quiero que mydiv cambie el color de fondo y luego lea esta función...

 function duzgun() { if (ikiSual.style.display = "none") { ikiSual.style.display = "block" ucSual.style.display = "none" dordSual.style.display = "none" besSual.style.display = "none" birSual.style.display = "none" } } else { alert("sehv cavabdi") }

}

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

0

Creo que lo quieres:

 function setbackground() { document.getElementById("element").style.backgroundColor = "yellow"; setTimeout(duzgun, 3000);//3000 = 3 seconds, 2000 = 2 seconds } function duzgun() { if (ikiSual.style.display = "none") { ikiSual.style.display = "block" ucSual.style.display = "none" dordSual.style.display = "none" besSual.style.display = "none" birSual.style.display = "none" } else { alert("sehv cavabdi") } }

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!