<html>
<head>
<title> New Document </title>
<script language="javascript">
function sendit()
{
if(document.frm1.userid.value=="")
{
alert("아이디를 입력하세요");
return false;
}
if (document.frm1.pwd.value=="")
{
alert("비밀번호를 입력하세요");
document.frm1.pwd.focus();
return false;
}
document.frm1.submit();
}
function member()
{
location.href("membership.html")
}
</script>
</head>
<body>
<form name="frm1" action="login_ch.asp" method="post">
<center>
<h1> 회원 로그인</h1><p>
<hr><p>
<table border=2 cellspacing=1 cellpadding=1 width=300 height=150 align=center>
<tr>
<td bgcolor="#3399ff" align=right><font color=white><b>UserID</b>
<td bgcolor="#99ff66"><input type="text" size=20 name="userid">
</tr>
<tr>
<td bgcolor="#3399ff" align=right><font color=white><b>PassWord</b>
<td bgcolor="#99ff66"><input type="password" size=20 name="pwd">
</tr>
<tr>
<th colspan=2 bgcolor="#99ff66">
<input type="button" value="로그인" onclick="sendit();">
<input type="reset" value="다시 입력">
<input type="button" value="회원 가입" onclick="member();">
<br>
</tr>
</table>
<p>
<hr>
</center>
</form>
</body>
</html>
마지막줄에 인풋 회원가입 버튼을 누르면 membership.html 이 뜨게 만들고 싶은데 회원가입 버튼을 눌러도 반응이 없네요 혹시 함수가 뭔가 잘못된게 있나요??