---
title: "nable to get value of the property...."
author: "javaeye_mao"
date: "2012-07-18T11:03:54Z"
tags: []
categories: ["编程语言"]
slug: "nable-to-get-value-of-the-property"
draft: false
lastmod: "2012-07-18T11:03:54Z"
id: 1597259
url: "https://javaeye-mao.iteye.com/blog/1597259"
---

今天在调试js的时候遇到一个错误：SCRIPT5007: **Unable** **to** **get** **value** **of** **the** **property**....   
但是仅在IE9上有这个错误[]()**，**在IE8**，**chrome**,** FF上都是好的**，**后来google一下**，** 说因为有些库文件已经老了**，**不适合IE9**，** 解决办法就是在head中加上： 

&lt;!-- Enable IE8 Standards mode --&gt;   
&lt;meta http-equiv="X-UA-Compatible" content="IE=8" &gt; 

就是以IE8 的模式来运行即可 

相关连接： 

http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx