JQ获取CKeditor的值

var editor = CKEDITOR.replace("content");
editor.setData("");
alert(CKEDITOR.instances.content.getData());  

var editor = CKEDITOR.replace("content");
alert(editor.getData()); 

 

posted @ 2013-11-03 20:11  子木聊出海  阅读(411)  评论(0编辑  收藏  举报