$.ajax({
type: "post",
url: "/goods/keywords",
async : true,
dataType:"html",//返回整合HTML
// dataType: "json",//返回json格式设置
data : JSON.stringify(data),
contentType:'application/json; charset=utf-8',
success: function (data) {
$("#allBody").html(data);//刷新整个body页面的html
}
})
ajax请求返回整个页面
猜你喜欢
转载自blog.csdn.net/yiyueqinghui/article/details/102827677
今日推荐
周排行