【发布时间】:2016-09-08 09:21:12
【问题描述】:
我有一个 Ajax 调用:
callAjaxController: function(){
var url = Routing.generate('ajax_price');
$.ajax({
type: "GET",
url: url,
cache: false,
success: function (data, status) {
// get the <body> markup to replace my actual body page
}
})
},
在我的 Ajax 响应中,我希望获得 <body> 标记来替换我的实际正文页面。
有可能吗?我该怎么做?
【问题讨论】:
标签: javascript jquery ajax