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

123
Views
TypeError no capturado: no se pueden leer las propiedades de undefined (leyendo 'indexOf') en mi función de clic

Tengo esta funcion conectada al click de un boton, pero me da este problema, como podria solucionarlo?

 function ClickHelp() { if ($("#text_help").html()=="" || $("#text_help").html().indexOf("non presente per il")>0){ if ($("#frameapplication").length>0) var titolo2=document.getElementById("frameapplication").contentWindow.location.href.replace(".html","").split("/"); var url = ''; var nomecompleto = ''; if (titolo2.length > 0) url = titolo2[titolo2.length - 1]; nomecompleto = "/htdocs/" + url.replace(/\.[^/.]+$/, "") + "_help.html"; $("#text_help").load(nomecompleto); } }
 <div class="help-container" id="help-container" onclick="ClickHelp()"> <button class="menu" id="sized" onclick="document.getElementById('help').style.display='block'"> <i class="fa fa-question"></i></button> </div> <div class="modal" id="help"> <div class="modal-content_menu animated fadeInRight"> <div class="w3-container"> <div class="modal-header_menu"> <span class="close"onclick="document.getElementById('help').style.display='none'">×</span> <div id="text_help" class="modal-body_menu"></div> </div> </div> </div> </div>
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!