ajax数据传输格式问题
$.ajax({ type: "post", url:"http://www.XXX.com/cgi-bin/webservice.fcgi&PROCESS="+encodeURIComponent(UpgradeRequest)+"&VERSION="+vers+"&KVERSION="+kvers+"&DEVICESN="+device+"&DEVICETYPE="+type+"&AGENCY="+agency, // url:"http://www.XXX.com/cgi-bin/webservice.fcgi/PROCESS=UpgradeRequest&VERSION=vers&KVERSION=kvers&DEVICESN=device&DEVICETYPE=type&AGENCY=agency", //url:"http://www.XXX.com/cgi-bin/webservice.fcgi", beforeSend: function(XMLHttpRequest){ //ShowLoading(); alert("aa"); }, success: function(data, textStatus){ alert("bbbb"); alert(data); //alert(aaaaaaaaaa); }, complete: function(XMLHttpRequest, textStatus){ //HideLoading(); alert("cccc"); }, error: function(){ alert("ddddd"); //请求出错处理 } });