eWebEditor在IE8下所有按钮都无效
来源:互联网 发布:dosbox优化 编辑:程序博客网 时间:2024/05/14 05:13
因为ie8屏蔽了anonymous方法 所以要改成onclick方法,打开include下面的editor.js文件,有这样的段代码:
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
把那个anonymous方法改成onclick就可以了。
问题是解决了,结果发现把那个方法改成onclick之后在ie6下面就不管用了 ,解决方法:
if(navigator.appVersion.match(/MSIE (7|8)/./i)!=null){
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)");
}else{
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
}
用这样一段代码,对浏览器的版本做一个判断就好了。
- eWebEditor在IE8下所有按钮都无效
- ewebeditor在ie8下所有按钮点击无效解决方案
- eWebEditor在IE8,IE7下所有按钮无效之解决办法
- eWebEditor在IE8,IE7下所有按钮无效之解决办法
- eWebEditor在IE8,IE7下所有按钮无效之解决办法
- eWebEditor在IE8、Maxthon下所有按钮无效的最终解决办法!
- IE8和IE9下ewebeditor上按钮无效的解决办法
- 彻底解决IE7、IE8、IE9下eWebEditor在线编辑器上按钮无效的解决方法
- 彻底解决IE8和IE9下ewebeditor上按钮无效的方法
- eWebEditor在ie8下上传失效(转)
- 【JavaScript】eWebEditor 辑器按钮失效 IE8下完美解决
- ewebeditor在线编辑器IE8下 按钮没反应的解决方法
- 解决eWebEditor在ie8下上传失效的问题
- eWebEditor在IE8下无法使用的解决方法
- eWebeditor在IE8、IE9中插入图片按钮不能使用问题的解决方法
- eWebEditor在ie9下按钮功能失效的解决办法
- eWebEditor在ie9下按钮功能失效的解决办法;
- 解决eWebEditor在线文本编辑器在IE8,i9下不兼容的方法
- “富不过三代”怎么表达?
- 使用病毒式营销策划推广方案
- [英语阅读]《花花公子》十大派对大学出炉
- EFOracleProvider 示例使用的方法 Entity Framework Provider for Oracle 資料收集
- [双语阅读]美科学家拟在月球种植蔬菜
- eWebEditor在IE8下所有按钮都无效
- Transferring Jobs 工作调动
- 西方祝酒贺词大搜罗
- Java 流(Stream)简介:3、对象序列化
- Beauty
- EXCEL自动化
- Love Your Life
- ucos与uclinux的区别
- DataTable to Entity - DataTable 转 实体类