标签:app func post 成功 alert 回调 col url char
$.ajax({ url: ‘带载入页面‘,
type: ‘post/get‘, contentType: ‘application/json;charset=utf-8‘, data: ‘{key:value}‘,//请求数据 success: function (data) { //载入成功时回调函数 alert(data); } });
$.get(
url: ‘带载入页面‘,
type: ‘post/get‘,
contentType: ‘application/json;charset=utf-8‘,
data: ‘{key:value}‘,
success: function (data) { //载入成功时回调函数
alert(data);
}
);
$.post(
url: ‘带载入页面‘,
type: ‘post/get‘,
contentType: ‘application/json;charset=utf-8‘,
data: ‘{key:value}‘,
success: function (data) { //载入成功时回调函数
alert(data);
}
);
标签:app func post 成功 alert 回调 col url char
原文地址:https://www.cnblogs.com/rzkwz/p/12506841.html