Solved

JSON.parse won't work in IE7

Posted on 2010-08-17
3
1,467 Views
Last Modified: 2013-12-08
i have a JSON.parse(); and it works in firefox but in IE7 it throws a undefind error.  This is the routine

function (record){
var recordsToSend = Ext.apply(record.data);
var jsonStr = JSON.parse(recordsToSend);   //Her is where IE throws the error message.

}
0
Comment
Question by:mferna22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 50 total points
ID: 33453842
Include this in your page : http://www.json.org/json2.js

(check and remove the first line)
<script language="javascript" src="json2.js"></script>

Open in new window

0
 
LVL 82

Expert Comment

by:leakim971
ID: 33454034
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33454167
Thanks a lot for the points!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 80
Javascript: Range object 16 33
jquery change div image on page reload using Jquery 9 57
How to get rid of this security alert once and for all 20 130
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question