jQuery.ajax 用户登录验证代码


复制代码 代码如下:

$.ajax({ type: "post", url: "Handler1.ashx", data: { username: "admin", password: "123" },
success: successHandle });
function successHandle(rep) {
$("#msg").html(rep);
}

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3