update register...

master
502647092 2015-10-13 15:05:23 +08:00
parent 69288bd8dc
commit a8b45f0800
1 changed files with 41 additions and 40 deletions

View File

@ -106,7 +106,7 @@ $("#register").click(function(){
}
$.ajax({ url:"<?=Url('user_public','user_check')?>", type:"GET", data:{user:username.val()}, dataType:"json",
success:function(rdata){
alert("checkuser");
alert("checkusersuccess");
switch(rdata.status){
case "success":
$.ajax({url:"<?=Url('user_public','mail_check')?>", type:"GET", data:{mail:email.val()}, dataType:"json",
@ -141,8 +141,9 @@ $("#register").click(function(){
alert(rdata.info);
return false;
}
}
alert(7);
},
error:function(){
alert("checkusererror");
})
})
</script>