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

150
Views
HTML interno y bucle for

Quiero escribir un código corto. Tengo varios divs editables y uso una función para poner el valor del div en un área de texto. Por favor, consulte conmigo.

 var myContentArr = ["myContent1", "myContent2", "myContent3", "myContent4", "myContent5", "myContent6"]; var hiddenArr = ["hidden1", "hidden2", "hidden3", "hidden4", "hidden5", "hidden6"]; function myFunction(){ for (var i = 0; i < hiddenArr.length; i++) { document.getElementById(hiddenArr[i]).value = for (var i = 0; i < myContentArr.length; i++) { document.getElementById(myContentArr[i]).innerHTML } } return true; }
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!