ورود

View Full Version : وب سرویس و json



M.asghari
شنبه 01 مهر 1391, 03:04 صبح
function GetId() {

$.ajax({
type: "POST",
url: "http://localhost:1082/Service1.asmx?op=GetAccountId",
data: { Text1: $("#TextBox2").val(),
Text2: $("#TextBox13").val(),
Text3: $("#TextBox12").val(),
Text4: $("#TextBox1").val(),
Pass: $("#TextSecondPass").val(),
Cvv2: $("#Textccv2").val(),
Month: $("#TextMonth").val(),
Year: $("#TextYear").val()
},
contentType: "application/json; charset=utf-8",
dataType: "json",
}).done(function (msg) {
$("#HiddenId").text(msg.firstChild.textContent);
});
}
اشکال این کد جیه؟

Mohandes2009
دوشنبه 03 مهر 1391, 07:18 صبح
اروری که میدهد چیه؟