am calling a webservice from my jquery as
$.ajax({
type: "POST",
url: "/DataService.asmx/Search",
contentType: "application/json; charset=utf-8",
data: "{'date' : '" + $("#txtDate").val() + "'}",
dataType: "json",
success: function (data) {
},
error: function (req, status, error) {
}
});
in the data am receiving some values like "[{"Id":10,"Name":"abdul samathu","Mobile":"8147708287","Email":"shanish.mca@gmail.com"}]"
here how can I get the values alone, I tried like
var name=data.Name;
var mobile=data.Mobile like this, but its not working can anyone help me here