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

486
Views
TypeError no detectado: [variable] es nula -No sé cómo continuar-

soy realmente un principiante, mi conocimiento proviene de videos de youtube: D. Realmente no sé cómo continuar ... si alguien tiene una idea, ¡hágamelo saber!

 for (var i = 0; i < ing.length; i++) { for (var ii = 1; ii < ing[i].length; ii++) { var div = document.createElement('DIV'); var slide = document.createElement("INPUT"); slide.setAttribute("type", "range"); slide.setAttribute("id", "slide_" + i + "_" + ii); slide.setAttribute("value", 0); var slide_value = document.createElement("span"); slide_value.setAttribute("id", "slide_value_" + i + "_" + ii); slide_value.innerText = 0; var text = document.createTextNode(" %"); slide.oninput = function() { /* * * from here it doesn't work: Error message: Uncaught TypeError: slide_value is null I don't understand this, wasn't it assigned a value? * * */ //with: console.log(i, ii); /* i only get the last values for both, i and ii; doesnt matter which slide i pull. any ideas? May there is the problem.. */ slide_value.innerText = this.value; } div.append(slide_value, text, slide); } }

saludos luca

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!