[转载]使用JS获取FCKEditor中的内容

使用JS获取FCKEditor中的内容 . / 获取FCKEditor中的内容: content为Editor实例的ID function getEditorContents(){ var oEditor = FCKeditorAPI.GetInstance(\"content\"); alert(oEditor.GetXHTML(true)); } // 向编辑器插入指定代码 functio