Home > front end >  An error Failed to execute the 'send' on 'XMLHttpRequest: Failed to load
An error Failed to execute the 'send' on 'XMLHttpRequest: Failed to load

Time:10-12

 function jylogInfo (username, password) {
//debugger;
Var urlre="http://127.0.0.1:2315/framework/ws/plkslx/lxxtjk/loginuser/loginJY/arg0/" + username +/arg1 "/" + password

Var XMLHTTP=new XMLHttpRequest ();
XMLHTTP. Open (" GET ", urlre, false);
XMLHTTP. The send ();
Var res=XMLHTTP. ResponseXML. GetElementsByTagName (" ns1: loginJYResponse ") [0]. The innerHTML;
{if (res=="success")
return true;
} else {
Alert (res);
return false;
}
}

Need to get back the content can only use false, what can I do?
With 360 browser, speed mode,
  •  Tags:  
  • Ajax
  • Related