I have a JSON string , I want to get value of JSON string property.I try
$.ajax({
type: "POST",
url: "../BUS/WebService.asmx/GET_TRANSACTION_NEW",
data: JSON.stringify(DTO),
contentType: "application/json; charset=utf-8",
dataType: 'json',
success: function (data) {
var obj = $.parseJSON(data.d);
alert(obj.TRANSACTION_NAME);
},
error: function (data) {
alert("Error");
}
});
But it gets error undefined
. I use jQuery-2.1.3.min.js