首页 优化推广 fckeditor在ie9中不支持$=document.getElementById解决办法

fckeditor在ie9中不支持$=document.getElementById解决办法

来源: | 时间:2013/7/9 16:16:30 |

关于fckeditor在ie9中不支持var $=document.getElementById解决办法,碰到此类问题的朋友可参考参考

解决方法可以这么来做:
打开这个文件,

fckeditor/editor/js/fckeditorcode_ie.js ,
 

找到第 38行的这个方法:

FCKTools.RegisterDollarFunction
 

将原来的

FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};
 

修改方法为:

FCKTools.RegisterDollarFunction=function(A){A.$=function(v){return A.document.getElementById(v);}};

服务热线

153 8323 9821

功能和特性

价格和优惠

网站和维护

推广和优化

微信服务号