jQuery.ajax({
type: "POST",
url: urls, //请求url
timeout: 60000,//(毫秒)
complete : function(xml){
if(xml.status == 200){
returnSuccess(xml);
}
},
error: function(xml,error){ //超时处理
//alert(xml.responseText);
//alert(xml.responseXml);
//alert(error);
//if(error == "timeout"){
returnError(xml);
//}
}
});