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

257
Views
No se pueden establecer propiedades de nulo (configuración 'onchange')

Hola a todos lo que está mal con este script? obteniendo TypeError no capturado: no se pueden establecer propiedades de nulo (configurando 'onchange') Gracias

 IsLegalPerson=document.getElementById('IsLegalPerson'); org=document.getElementById('org'); inp_org=document.getElementById('CustomerOrganization'); IsLegalPerson.onchange=function(){ if(this.value=='true')org.style.display='block'; else org.style.display='none'; }; document.body.init_checkout=initListeners; document.body.updated_checkout=initListeners; function initListeners(){ var btn = document.querySelector('#place_order'); if (!btn) return btn.addEventListener('click', function(e){ if(IsLegalPerson.value=='false'&&inp_org.value==''){ e.preventDefault(); inp_org.value='tmp_value'; btn.click(); } }) }
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!