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>