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

129
Views
Reemplazo de ActiveXObject("MSXML2.XMLHTTP");

Refactorizando el antiguo código javascript, ¿cuál es un reemplazo efectivo de ActiveX? A continuación se muestra un ejemplo de cómo se está utilizando.

 var xmlhttp = new ActiveXObject("MSXML2.XMLHTTP"); var sURL = homeURL + "/Utility.asmx"; xmlhttp.Open("POST", sURL, false); xmlhttp.setRequestHeader("SOAPAction", "http://tempuri.org/DestroyScreen"); xmlhttp.setRequestHeader("Content-Type", "text/xml"); var sPayload = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"; sPayload += "<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>"; sPayload += "<soap:Body>"; sPayload += "<DestroyScreen xmlns='http://tempuri.org/'>"; sPayload += "<screenID>" + WebScreen.ScreenID + "</screenID>"; sPayload += "<instanceID>" + WebScreen.ScreenInstance + "</instanceID>"; sPayload += "</DestroyScreen>"; sPayload += "</soap:Body>"; sPayload += "</soap:Envelope>"; xmlhttp.Send(sPayload);
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!