JSON undefined in IE7
Posted
by Joel
on Stack Overflow
See other posts from Stack Overflow
or by Joel
Published on 2010-03-26T08:10:27Z
Indexed on
2010/03/26
8:13 UTC
Read the original article
Hit count: 1702
Hey,
I am using the following line of JQuery code:
$.get('/ajax/buy', {'categoryname':chosenSelected}, function(data) {
data = JSON.parse(data);
...
However, when running it on IE7 I get error msg "JSON undefined:".
How can I use the parser with compatibility to IE7 (and all major browsers)?
Thanks in advance, Joel
© Stack Overflow or respective owner