人喜的成功,數據/應答,我從過去3天內渴望我自己,我只是找不到訪問看到我的瀏覽器無法擷取上Jquery.Ajax()
JSON響應方式這裏是我的Ajax代碼:
$("[id*=btnModalPopup]").live("click", function() {
$("#tblCustomers tbody tr").remove();
$.ajax({
type: "POST",
url: "CallDataThroughJquery.aspx/GetLeadDetails",
data: '{}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
alert("Hi Json");
alert(data.Leadno); // **Says data.leadno is undefined**
response($.map(data.d, function (item) { // **here I am going some where wrong**
//**cannot catch response. Help!**
}))
},
failure: function (response) {
alert(response.d);
}
});
});
請幫我在這..先謝謝了!
可以自己信息的JSON過這裏 –
這裏響應是JSON響應: [{ 「__type」: 「WEBFORMS_CallDataThroughJquery + LeadDetails」, 「Leadno」: 「HR30082009000227」, 「StatusName」 :「跟進」,「到期日」:4}] – KeVee
您可以發佈回覆嗎? –