• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1474
  • Last Modified:

JSON.parse won't work in IE7

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
mferna22
Asked:
mferna22
  • 3
1 Solution
 
leakim971PluritechnicianCommented:
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
 
leakim971PluritechnicianCommented:
0
 
leakim971PluritechnicianCommented:
Thanks a lot for the points!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now