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
Solved

JSON.parse won't work in IE7

Posted on 2010-08-17
3
1,464 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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.

860 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