日期:2014-05-16 浏览次数:20874 次
$.ajax({
type : "POST",
async : true, //是否异步请求
timeout : 8000,//设置请求超时时间(毫秒)。此设置将覆盖全局设置。
url : 'url',
data : pageRool,
error : function(XMLHttpRequest, textStatus, errorThrown){
},success : function(data, textStatus){ // data 可能是 xmlDoc, jsonObj, html, text, 等等...
}
});
?