Unable to get json data in IE9 browsers

Here I have javascript code for getting JSON data. I am getting all the JSON values. In Firefox and Chrome I am able to see values but not in IE9. Can you please tell me why this is?

$.getJSON("GetUserInfo?uid=" + user, function(result) {
    console.log("User Info");
    console.dir(result);

    aadhaarid = result.aadhaarid;
    userName = result.name;
    console.log(result.aadhaarid);
    $("#uname").html(result.name);
});


Source: json

Leave a Reply