ie8 eWebEditor按钮点击无效解决方案
六 27th
在eWebEditor的目录里找到Editor.js文件,
路径是webedit\Include\Editor.js 用记事本打开,在其中找到如下代码:
View Code JS
if (element.YUSERONCLICK) {
eval(element.YUSERONCLICK + "anonymous()");
}
或
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");<span id="more-13"></span>
版本不同可能写法有点区别
将上面的代码替换为
if(navigator.appVersion.match(/8./i)=='8.')
{
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)");
}
else
{
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
} |
出处: 马丁博客[http://www.blags.org/]
本文链接地址: http://www.blags.org/ie8-ewebeditor-button-click-invalid-solutions/
原创文章,转载请注明出处,否则视为侵权。
你同时应该掌握的知识
- google +1加载慢解决办法 - (1 评论)
- lamp 是什么 - (没有评论)
- php 配置文件 php.ini 详细介绍 - (没有评论)
- 我的vim php 开发配置文件 - (2 comments)
- js鼠标事件大全 - (没有评论)
- JavaScript成为了世界上误解最深的计算机语言(js) - (没有评论)
- 利用FSO制作asp替换文件函数 - (没有评论)
- 网络爬虫技术 Spider - (没有评论)
- Windows 2003 IIS下配置MySQL+PHP+ISAPI_Rewrite - (3 comments)
- php 进制转换函数 - (没有评论)
posted 7 months ago
太慢了,我就不上了,懒得折腾,郁闷1!!
网站访问速度慢?还是?
posted 6 months ago
学习了!
posted 6 months ago
是很不错哦,但老上不去
posted 6 months ago
已经没有在用这个东西了。。
posted 6 months ago
学习啦