{"id":"2231f87c-a62c-4c2c-8f5d-b76d11942301"}
If I alert the response data I see the above, how do I access the id value?
My controller returns like this:
return Json(
    new {
        id = indicationBase.ID
    }
);
In my ajax success I have this:
success: function(data) {
    var id = data.id.toString();
}
It says data.id is undefined.
 
     
     
     
     
     
     
     
    