All, I'm trying to parse some JSON and IE is giving me an error but not surprisingly the other browsers are ok with it. Here is my code:
var result = JSON.parse(data.result);
var uploadType = result[0].upload_type;
var filename = result[0].name;
var insert_id = result[0].insert_id;
I'm getting an error on the first line. Any idea how to make this IE proof?
Thanks!