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

258
Views
XMLHttpRequest pendiente en Chrome pero está bien en IE

Los datos que quiero obtener son de API que solo devuelven formato XML. Cuando uso IE, la solicitud se envía y recibo una respuesta y todo está bien. Pero cuando trato de usar Chrome, la misma solicitud está pendiente.

También probé el mismo código para llamar a algunas API abiertas en Internet para probar que devuelven .JSON y el mismo código funciona en Chrome. Entonces, ¿qué estoy haciendo mal?

 var req = null; req = new XMLHttpRequest(); req.onreadystatechange = function() { if (req.readyState == 4 && req.status == 200) { alert("Hi") } }; req.open("GET", "LINK" ,false); req.send(null);
over 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
Virtual assistant