function join_confirm(){
if($.trim($('#id').val()).length==0){
alert("아이디를 입력하세요!");
return false;
}
if(confirm == false){
alert("비밀번호 확인을 먼저 하세요!");
return false;
}
if($.trim($('#name').val()).length==0){
alert("이름을 입력하세요!");
return false;
}
if($.trim($('#phone').val()).length==0){
alert("전화번호를 입력하세요!");
return false;
}
return true;
}
</script>
</head>
<body>
<div style="width:500px; height:650px; margin:auto; text-align:center;">
<form action="/spring_practice_02/join_ok" method="post" onsubmit="join_confirm();">
이거 return false인데 왜 넘어가지??
해결 완료