关于向CKEDITOR中赋值

var tid=$(obj).attr("id");
    //帖子信息回显
    $.post(contentPath+"/getTopicByTid/"+tid,function(resp){
        console.log(resp);
        $("#t_title").val(resp.t_title);
        CKEDITOR.instances.t_content.setData("hello");
        $("#t_sid").val(resp.t_sid);


    });

一直报错:

Uncaught TypeError: Cannot read property 'setData' of undefined

求助大神帮忙解释

CKEDITOR.instances.t_content.setData("hello"); 你这个调用有setData这个方法吗?

这个错误说明 CKEDITOR.instances对象中没有t_content这个属性

t_content 是你的控件ID