今天在调试js的时候遇到一个错误:SCRIPT5007: Unable to get value of the property....
但是仅在IE9上有这个错误,在IE8,chrome, FF上都是好的,后来google一下, 说因为有些库文件已经老了,不适合IE9, 解决办法就是在head中加上:
<!-- Enable IE8 Standards mode -->
<meta http-equiv="X-UA-Compatible" content="IE=8" >
就是以IE8 的模式来运行即可
相关连接:
http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx