日期:2014-05-16 浏览次数:20845 次
$.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");
                //请求出错处理
                }
            });