Microsoft JScript runtime error: ‘JSON’ is undefined
I received this error when I tried to run my ASP.NET webpage in IE 8 Compatibility mode. JSON.parse function seems to be not working in IE 8 Compatibility mode. The snapshot is given below,
In order to fix this issue, add reference to json2.min.js file in your ASP.NET webpage. This file can be downloaded from NuGet, http://nuget.org/packages/json2/ . This will solve the issue.
No comments yet.