52,797
社区成员
发帖
与我相关
我的任务
分享
function CheckServiceLogin() {
alert("");
$.ajax(
{
type: "post",
url: "Login.aspx/CheckLoginService",
data: "{'sLoginName':'123','sPassword':'3456'}",//
contentType: "application/json; charset=utf-8",
dataType: "text",
success: function (result) {
alert(result);
},
error: function (err) {
alert("error"+err);
return false;
}
}
);
}
[WebMethod()]
public static string CheckLoginService(string sLoginName)
{
if (true == true)
if (false == false)
;
return "sucess";
}