묻고답하기

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script>
function check(f){
if (f.order.value == 0){
window.alert (" 회차를 입력하세요");
f.order.focus();
}
else if (f.num1.value == 0){
window.alert ("번호를 입력하세요");
f.num1.focus();
}
else if (f.num2.value == 0){
window.alert ("번호를 입력하세요");
f.num2.focus();
}
else if (f.num3.value == 0){
window.alert ("번호를 입력하세요");
f.num3.focus();
}
else if (f.num4.value == 0){
window.alert ("번호를 입력하세요");
f.num4.focus();
}
else if (f.num5.value == 0){
window.alert ("번호를 입력하세요");
f.num5.focus();
}
else if (f.num6.value == 0){
window.alert ("번호를 입력하세요");
f.num6.focus();
}
else{
f.submit();
}
}
</script>
</head>

<body>
<form name="lotto" method="post" action="lotto_input_save.php">
  <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20" colspan="2">로또번호 입력폼</td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td width="111" height="20">회차</td>
      <td width="286"><input name="order " type="text" id="order " size="4" maxlength="4"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20">번호1</td>
      <td><input name="num1" type="text" id="num1" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20">번호2</td>
      <td><input name="num2" type="text" id="num2" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="22">번호3</td>
      <td><input name="num3" type="text" id="num3" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20">번호4</td>
      <td><input name="num4" type="text" id="num4" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20">번호5</td>
      <td><input name="num5" type="text" id="num5" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20">번호6</td>
      <td><input name="num6" type="text" id="num6" size="2" maxlength="2"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF">
      <td height="20" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr align="center">
            <td width="34%"><input type="submit" name="Submit" value="연속입력"></td>
            <td width="13%"><input name="button" type="button" onClick="javascript:check(this.form);" value="클릭"></td>
            <td width="25%"><input type="reset" name="Submit3" value="취소"></td>
            <td width="28%"><input type="button" name="Submit4" value="닫기"></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
정주영 내컴을 서버로 만들기에 대해... [1] 2007.08.10
*희망* 어디에 이런 걸 물어볼지 몰라서.. [3] 2007.08.10
이현성 제로보드 최근게시물 나오게 하려는데... [1] 2007.08.10
김미현 링크걸린곳에 가면 손바닥모양 말구... [3] 2007.08.10
남일이찌개 전용 브라우저 만드는법 [1] 2007.08.10
daeric 윈XP 에서 Cross Cable 을 이용한 컴퓨터 두대 연결방법...? [1] 2007.08.10
정윤희 제로보드는여..무료계정.. [1] 2007.08.10
초보~ 제목표시줄에 시간 넣는것중에 질문이요  
sisazz 네트워크 중복.. [3] 2007.08.10
키츠♥ 노프레임일때 음악소스요! [1] 2007.08.10
케이~* 사진을 클릭하면 닫히는 윈도우 태그를 알고싶습니다. [3] 2007.08.10
Ro.J 벅스 뮤직에 관한 것인데요.. [1] 2007.08.10
정상근 나모 메뉴에 관한질문....  
impre MySQL에서 테이블 연결 하려면요?? [2] 2007.08.10
¤ΚΘru(ちよ父) mms://로 된건 어떻게 다운 받죠? [2] 2007.08.10
김진태 메뉴버튼 질문입니다..^^;재질문입니다.. [2] 2007.08.10
박선옥 노프레임 사이트에서 제로보드 링크문제 ㅜ.ㅡ [2] 2007.08.10
이정용 저 홈폐이지 접속시 크기를 변하게 하는 방법좀... [1] 2007.08.10
박진국 [질문]제로카운터 관련 질문입니다.  
디엠비 작은 그림 클릭시 큰 그림으로 새창뜨는 방법 알려주세요. [1] 2007.08.10