js 获取FCKeditor 值

     <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server">
        </FCKeditorV2:FCKeditor>

 

           var oEditor = FCKeditorAPI.GetInstance("FCKeditor1");
            var txtContent = oEditor.GetXHTML(true);
            alert(txtContent);

 

posted @ 2011-10-28 17:27  无法更新的~  阅读(156)  评论(0编辑  收藏  举报