在最近做页面的时候要求将用户上次的记录渲染到页面上....但是所在的文本域偏偏又是最晚才加载进来.....
所以用了 window.onload函数..发现它才是老油条,最后成功解决问题:
window.οnlοad=function(){
var text=$("#answer_text_ifr").contents().find('#tinymce');
text.html("<?php echo $this->qanswer?>");
}
![微笑](http://static.blog.csdn.net/xheditor/xheditor_emot/default/smile.gif)