我在页面中有一个带有“swiffy”的html5代码,当我使用JQuery load()函数将此页面放在另一个它没有出现时,是什么原因?
我使用此代码:
$.ajax({
type: "POST",
url: URL,
data: { }
}).success(function(data, textStatus, jqXHR){
$('html').html(jqXHR.responseText);
var reponse = $(jqXHR.responseText);
var reponseScript = reponse.filter("script");
$.each(reponseScript, function(idx, val) {
eval(val.text);
});
});