<html>
  <head>
    <title>FCKeditor demo</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   <script type="text/javascript" src="webproject1/fckeditor/editor/fckeditor.js">
   </script>
  </head>
  
  <body>
  <h1>请输入内容</h1>
    <form action="/webproject1/servlet/addContent" method="post">
    主题:<input type="text" name="title" size="80"><br>
    <script type="text/javascript">
    var oFCKeditor=new FCKeditor('editor1');s
    oFCKeditor.BasePath='webproject1/fckeditor/editor';
    oFCKeditor.Height =200;
    oFCKeditor.ToolbarSet='Default';
    oFCKeditor.Create();
    </script>
      <input name="submit" type="submit" value="submit">
    </form>
  </body>
</html>
 在IE里只显示了  主题:
请解答啊

解决方案 »

  1.   

    换IFRMAE的形式看看
    <textarea name="F_Content" id="F_Content" style="display:none;"></textarea>
    <table width="952" align="center">
    <tr bgcolor="#EFEFEF">
    <td><iframe src="webproject1/fckeditor/editor/fckeditor.html?InstanceName=F_Content&Toolbar=Default" width="100%" height="400" frameborder="0" scrolling="no"></iframe></td>
    </tr>
    </table>

      

  2.   

      var oFCKeditor=new FCKeditor('editor1');s
    editor1这个文本框有吗? 还有 后面那个s是怎么回事?如果在代码中存储,肯定要出错的