用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1355|回复: 2
收起左侧

[HELP] fckeditor用js条用加载,报404求帮,代码如下:

[复制链接]
发表于 2012-12-27 14:52:20 | 显示全部楼层 |阅读模式
<script src="<?php echo base_url('js/jquery-1.4.2.min.js')?>" type="text/javascript"></script>
<script type="text/javascript">
          window.onload = function()
          {
            var oFCKeditor = new FCKeditor("content1");
               oFCKeditor.BasePath ="<?php echo base_url().'js/fckeditor/'?>";
               oFCKeditor.Height = 200;
               oFCKeditor.ToolbarSet = "Default";  
               oFCKeditor.ReplaceTextarea();
          }
         </script>

<textarea name="content1" style="width:700px;height:200px;visibility:hidden;"><?php echo $company['content'] ?></textarea>
 楼主| 发表于 2012-12-27 14:55:17 | 显示全部楼层
来人啊
 楼主| 发表于 2012-12-27 16:24:21 | 显示全部楼层
NetworkError: 404 Not Found - http://localhost/xd_cms/js/fckeditoreditor/fckeditor.html?InstanceName=content1&Toolbar=Default
用firebug查看报这个错

本版积分规则