This is my data:
[{"ServiceId":4,"ServiceName":"first sevice","ServiceCriteria":"Lumpsum","ItemBasis":"Inward/Outward","Currency":null,"Amount":null}]
How can I read this data when it's passed back from a controller in the success?
$('#btnservice').click(function () {
var url = "/Quotation/SelectService/";
var selservice = $("#selservice").val();
$.ajax({
url: url,
data: { selservice: selservice },
cache: false,
dataType: 'json',
type: "POST",
success: function (data) {
$("#Services").empty();
},
error: function (reponse) {
alert("error : " + reponse);
}
});
});