fckeditor用于html,代替html的textarea。 好像是sBasePath路径不对,textarea无法显示。我的需要替换的html文件和fckeditor文件夹实在同一目录下的。
高手帮忙看下,多谢了。 <script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript"> window.onload = function()
{
var sBasePath ='/fckeditor/';
var oFCKeditor = new FCKeditor( 'cont' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
高手帮忙看下,多谢了。 <script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript"> window.onload = function()
{
var sBasePath ='/fckeditor/';
var oFCKeditor = new FCKeditor( 'cont' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
解决方案 »
- ext Toolbar 上的查询文本框值怎么获取上一个grid 选中的行值啊?
- JS Cookie的使用 急急急!!!!!
- Extjs 我做的formpanel跟samples里面的差不多,怎么效果差那么远的
- 请教一个自动计算的问题
- javascript 增加修改地址栏参数
- 是Netscape7.x不支持js的图片对象?还是我对Netscape7.x
- 怎么用javascript写一个能查找文件或文件夹的网页
- 如何搞定这个命名的问题?
- 请问怎样才能控制一个浮动窗口,不让它被其他页面挡住,就像一个浮动的工具条一样?
- 怎样加入插入图片的功能??
- ExtJS如何获取 Store某一单元格的控件?
- 正则表达式校验前两位为零
html文件夹/aa.html引入fck sBasePath的路径应该是 ../上一级的fck
fck文件夹