update register...
parent
69288bd8dc
commit
a8b45f0800
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue