ajax同步请求

来源:互联网 发布:淘宝账户被冻结的原因 编辑:程序博客网 时间:2024/05/21 15:07
function getCWnew(quoteID,pinTaxPrice)            {                 jQuery.ajax({                   async:false, //表面ajax同步                      type: "POST",//post提交                   url: "http://"+window.location.host+"/ToursPackages/PayOfJudge.aspx",//调用方法                   data: "quoteID="+quoteID+"&pinTaxPrice="+pinTaxPrice,//方法参数                   success: function(msg){//返回结果                     if(msg=="true")                     {//返回结果处理业务                      }                     }                   }                });             }

原创粉丝点击