问题
There is a component that I have been using since IE7 and had never had problems with it.
Now that IE9 came out, there is a specific issue that users are struggling with.
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.
So.. question...
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?
Thanks
回答1:
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.
来源:https://stackoverflow.com/questions/9132048/javascript-component-does-not-work-in-ie9