That's it, I'm trying to parse some JSON, and IE gives me an error, but no wonder 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 get an error in the first line. Any idea how to make this IE proof?
Thanks!
source share