$.ajax({
type:
'POST'
,
url: url,
dataType:
'json'
,
contentType:
"application/json"
,
data: JSON.stringify(setData),
success:
function
(data){
alert(
'数据加载成功'
);
},
error:
function
(xhr,type){
alert(
'数据加载失败'
);
}
});