Javascript组件在IE9中不起作用 [英] Javascript component does not work in IE9

查看:68
本文介绍了Javascript组件在IE9中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自IE7以来,我一直在使用一个组件,从来没有遇到过问题。

There is a component that I have been using since IE7 and had never had problems with it.

现在IE9出现了,用户遇到了一个特定问题

Now that IE9 came out, there is a specific issue that users are struggling with.

这是一个组合框,问题是当我选择该项目时,IE9无法识别已选择了一个项目。仅当用户打开兼容模式时,问题才会消失。

It's a combobox, and the problem is that when I select the item, IE9 does not recognize that an item has been selected. The problem will only go away if the user turns compability mode on.

所以..问题...

是否存在代码解析器或代码检查器等...,以便我可以识别组件代码中的哪些js函数在IE9中不再可用?还是...有人对我应该怎么做有很好的建议,或者我该如何发现问题?

Is there a code parser, or code checker, or something... so that I can identify which js functions, in the component code, are no longer available in IE9? Or... does anyone have a good advice of what should I do, or how can I detect the problem?

谢谢

推荐答案

您可以使用开发人员工具,并检查控制台以查看哪些行引发错误。要打开开发人员工具,只需按F12或转到工具>开发人员工具。接下来,在标签栏中按控制台。

You could use the developer tools, and check the console to see which lines throw an error. To open the developer tools, just press F12 OR go to Tools > Developer tools. Next, press console in the tabbar.

这篇关于Javascript组件在IE9中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆