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

193
Views
Se muestra el error Window.reload después de hacer clic

En nuestra página web, después de hacer clic, debe recargarse y yo uso window.location.reload para que eso suceda. Pero en la herramienta de desarrollo, dice Uncaught TypeError: Cannot read properties of null (reading 'reload') in javascript . ¿Hay alguna forma de arreglar?

 echo"<FONT color=\"#FF0000\" class=\"ft10\" onClick = \"SetName('".$site."','".$scan4data."','".$hwid."','".$un."','".$hwde."','".$hwlocde."');\" ><b>$barc</b></FONT></a><br>\n"; echo "<script type=\"text/javascript\">"; echo " function SetName(site, scan4data, hwid, un, hwde, hwlocde){"; //, scan4data, hwid, un, hwde, hwlocde, txthwlocde; //echo "{\n"; echo " var locname= hwlocde; "; echo " var site2= document.getElementById('site1').value; "; echo " var txthwlocde = site2 + locname;"; echo " window.location.reload('scantheid.php?site='+ site2 + '&scan4data=' + scan4data + '&hwid=' + hwid + '&un=' + un + '&hwde=' + hwde + '&hwlocde=' + hwlocde + '&txthwlocde=' + txthwlocde);"; //echo " alert ('scantheid.php?site='+ site + '&scan4data=' + scan4data + '&hwid=' + hwid + '&un=' + un + '&hwde=' + hwde + '&hwlocde=' + hwlocde + '&txthwlocde=' + txthwlocde);"; //echo " console.log(txthwlocde);"; echo "window.open('', '_self', ''); window.close()"; echo " }"; echo "</script>";
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!