脚本无法识别Ajax响应数据

时间:2014-06-12 00:33:40

标签: javascript jquery ajax

我正在使用jQuery导入一个视图,返回一大块html放置在我的文档正文中。

async('get_user_data',data, function(response){
        /** Response success **/
        $('.stage').html(response.html);

    }, function(response) {
        /** Response error **/
        alert('Error');

        });

文档中放置的response.html数据包含功能所需的脚本。导入数据后,脚本无法识别新的html块。

0 个答案:

没有答案
相关问题