标签:login ring rip dex var cat 应用 index post
<script type="text/javascript">
function postLogin(){
var name=$("#userName").text();
var email=$("#userEmail").text();
var pwd=$("#passwordUser").val();
var params={"fullname":name,"email":email,"password":pwd};
var url="${pageContext.request.contextPath}/user_lockLogin";
$.post(url,params,function(data){
if(data=="yes"){
location.href="index.jsp";
}else{
alert("您输入的密码错误,请重新输入!");
}
});
}
</script>
这三个方法功能上的对比
标签:login ring rip dex var cat 应用 index post
原文地址:http://www.cnblogs.com/llforeverlove/p/6675211.html