最近IE8出来了,ewebeditor也出现了不兼容问题.下面是解决办法:

if(navigator.appVersion.match(/8./i)=='8.' || navigator.appVersion.match(/7./i)=='7.'){
  
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)"); //IE8 or IE7
else {
  
if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); //IE6
}

不过ewebeditor对其他浏览器也存在不兼容情况,建议还是用fckeditor.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-03-01
猜你喜欢
  • 2021-06-24
  • 2022-12-23
  • 2021-09-03
  • 2021-11-10
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案