就是获取fcketior除了一堆标签的内容.没有html代码的.

解决方案 »

  1.   

    FckEditor1.value 
    FckEditor1 是你页面的控件ID
      

  2.   

    这样就得到了他所有的内容.你再去正则表达式的方法去掉所有的 HTML 标签就可以了关于如何用.请在baidu.com google.com  上找找.
      

  3.   

    var oEditor = FCKeditorAPI.GetInstance('HtmlEditor') ; //FCK编辑器id:HtmlEditor
    alert(oEditor.GetXHTML())即可
      

  4.   

    我这个没有办法找到FCKeditorAPI,啊
      

  5.   

    FCKeditorAPI 这个是什么JS里面可以这样引用写的吗 
      

  6.   

    Regex.Replace(FckEditor1.value,@"<[\/\!]*?[^<>]*?>","")
    就可以去掉html标记了
      

  7.   

    步骤
    一.添加一个新的页面,然后在项目上右击,选择"添件引用"找到FredCK.FCKeditorV2.dll
    1.在页面引入
    <%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" ValidateRequest="false" %>2.在需要控件的地方防入下面代码
    <FCKEDITORV2:FCKEDITOR id="Content" runat="server" height="250" width="100%"></FCKEDITORV2:FCKEDITOR>
    二在后台Cs代码中写入:
    1。Using FredCK.FCKeditorV2
            Content.BasePath = "FCKeditor/";
            Content.DefaultLanguage = "zh-cn";
            Content.ToolbarSet = "Basic";
      

  8.   

    var oEditor = FCKeditorAPI.GetInstance('htmlContent') ; //FCK编辑器id:'htmlContent'
    var oDOM = oEditor.EditorDocument ;
    alert (oDOM.body.innerText);亲测好用。
      

  9.   

    9楼的太细心了,不顶说不过去。NND
      

  10.   

    .value使用参照
    http://www.cnblogs.com/chjw8016/archive/2008/03/09/1097509.html