I am trying to return two json objects.But i am able to receive only one. Am i doing wrong? Success is just showing 'success' as string when i try to alert this but otherwise in firebug it has value=true .So, it must show true which is its value and not the variable instead.
I am returning below in which data is receiving but success is not showing its value. How should i extract the value of success in my $.ajax funtion..
return Json(new { data = obj, success = isSuccess });
$.ajax({
type: "POST",
url: "controller/Action",
data: "",
success: function (data, success) {
debugger;
alert(success);
},