I am using the following line of jQuery code:
$.get('/ajax/buy', {'categoryname':chosenSelected}, function(data) { data = JSON.parse(data); ...
However, when running on IE7, I get this error message: JSON undefined:
How can I use a parser compatible with IE7 (and all major browsers)?
json javascript jquery internet-explorer-7
Joel
source share