FCKeditor 显示不出来!!

LXHOYXC 2011-06-27 03:15:33
<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里只显示了 主题:
请解答啊。。。
...全文
100 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
挨踢直男 2011-06-27
  • 打赏
  • 举报
回复
var oFCKeditor=new FCKeditor('editor1');s
editor1这个文本框有吗? 还有 后面那个s是怎么回事?如果在代码中存储,肯定要出错的
灬上海爽爷 2011-06-27
  • 打赏
  • 举报
回复
换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>

87,902

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧