Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquery-在不刷新页面的情况下将新内容提供给CKeditor_Jquery_Ajax_Ckeditor - Fatal编程技术网

jquery-在不刷新页面的情况下将新内容提供给CKeditor

jquery-在不刷新页面的情况下将新内容提供给CKeditor,jquery,ajax,ckeditor,Jquery,Ajax,Ckeditor,我有一个包含内容的下拉列表,没有加载任何内容的CKeditor! 脚本需要能够将数据库中的相关内容返回到选定的下拉列表值,并将其放入CKeditor,而无需重新启动页面。 我使用jQueryAjax来实现这一点 问题:我找不到如何在CKeditor中插入内容!我试图在textarea标记之间插入值,但它不起作用 是否尝试了editor.setDatadata?forebug:错误:$product_description.setData不是函数代码:$product_description.se

我有一个包含内容的下拉列表,没有加载任何内容的CKeditor! 脚本需要能够将数据库中的相关内容返回到选定的下拉列表值,并将其放入CKeditor,而无需重新启动页面。 我使用jQueryAjax来实现这一点


问题:我找不到如何在CKeditor中插入内容!我试图在textarea标记之间插入值,但它不起作用

是否尝试了editor.setDatadata?forebug:错误:$product_description.setData不是函数代码:$product_description.setDataobj.description;编辑器是CKEditor的实例。不是下面@Sudhir所说的jQuery对象。sry!我是jquery新手:编辑器未定义为editor.setDataSs;如何使文本框成为一个编辑器?请提供一些代码。