ie9 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);}};
OK,搞定!!!
原载: 大连网站制作 http://www.noonenet.cn/