CKEditor在我的本地计算机上工作,但在服务器上不工作 [英] CKEditor works on my Local but Not Work on Server

查看:74
本文介绍了CKEditor在我的本地计算机上工作,但在服务器上不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


<asp:TextBox ID="txtdescription" Width="600px" Height="250px" TextMode="MultiLine"  runat="server"></asp:TextBox>
   <script type="text/javascript">
    $(document).ready(function () {
      var ck = $(''#<%= txtdescription.ClientID %>'').ckeditor();
       });
    </script>

我在本地和服务器中编写了相同的代码

并且此代码在我的本地计算机上有效,但在我们的服务器上不可用

有什么解决方案? iis或web.config配置是否有用?

谢谢

解决方案

(document).ready(function(){ var ck =


(''#<%= txtdescription.ClientID%>'').ckeditor(); }); </script>

我在本地和服务器中编写相同的代码

并且此代码在我的本地计算机上有效,但在我们的服务器上不可用

有什么解决方案? iis或web.config配置是否有用?

谢谢


您好,

http://ckeditor.com/blog/CKEditor_for_jQuery

请按照上面的链接获取有关CKEditor的说明.

而且您正在使用Jquery,因此无需更改web.config中的任何内容

b''coz Jquery获得此CKEditor的在线参考.

如果您对Jquery.UI有了想法,那么它很容易理解控件如何在
中实例化
加载时间.


一切顺利


hi

<asp:TextBox ID="txtdescription" Width="600px" Height="250px" TextMode="MultiLine"  runat="server"></asp:TextBox>
   <script type="text/javascript">
    $(document).ready(function () {
      var ck = $(''#<%= txtdescription.ClientID %>'').ckeditor();
       });
    </script>

i write the same code in my local and server

and this code works on my local but not worked on our server

what can be the solution? is there something with iis or web.config configuration?

Thanks

解决方案

(document).ready(function () { var ck =


(''#<%= txtdescription.ClientID %>'').ckeditor(); }); </script>

i write the same code in my local and server

and this code works on my local but not worked on our server

what can be the solution? is there something with iis or web.config configuration?

Thanks


Hi,

http://ckeditor.com/blog/CKEditor_for_jQuery

follow above link to get clarification on CKEditor.

And you are using Jquery so no need to change any thing in web.config

b''coz Jquery gets online reference for this CKEditor.

If you''ve idea on Jquery.UI thn its easy to understand how controlsinstantiate in

loading time.


All the best


这篇关于CKEditor在我的本地计算机上工作,但在服务器上不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆