jQuery
$(".lnkpro").click(function () {
$.ajax({
type: "POST",
url: "uygulamalar.aspx/Getir",
data: '{name: "1234"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (sonuc) { $(".resimler").html(sonuc.d); },
error: function () { alert("error") }
});
});
VB.NET (Web メソッド)
<System.Web.Services.WebMethod()> _
Public Shared Function Getir(ByVal name As Integer) As String
Return name & " asdalo"
End Function
Hata verip duruyor lütfen bir yardımcı olun arkadaşlar エラーはどこにありますか???