漫天草 发表于 2012-12-27 14:52:20

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

<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

来人啊:Q:Q:Q:Q:Q

漫天草 发表于 2012-12-27 16:24:21

NetworkError: 404 Not Found - http://localhost/xd_cms/js/fckeditoreditor/fckeditor.html?InstanceName=content1&Toolbar=Default
用firebug查看报这个错
页: [1]
查看完整版本: fckeditor用js条用加载,报404求帮,代码如下: