jQuery.ajax 用户登录验证代码
发布时间:2016-12-30 来源:查字典编辑
摘要:复制代码代码如下:$.ajax({type:"post",url:"Handler1.ashx",data:{username:"admin...
复制代码 代码如下:
$.ajax({ type: "post", url: "Handler1.ashx", data: { username: "admin", password: "123" },
success: successHandle });
function successHandle(rep) {
$("#msg").html(rep);
}