한국어
<!-- <body> 영역에 다음 코드를 추가합니다--> <script 언어="JavaScript"> <!-- function validform(){ if (document.login.LoginName.value == ""){ document .login.LoginName.focus(); 경고("참고: 사용자 이름을 입력하세요!") return false } if (document.login.passwd.value == "") { document.login.passwd.focus() ; 경고("참고: 비밀번호를 입력하세요!"); return false } if (document.login.selectway.value=="count"){ document.login.action="count.asp" } if (document.login.selectway.value=="count") . login.selectway.value=="guestbook"){ document.login.action="guestbook.asp" } } //--> </script> <form method=post name="login" onSubmit="return validform ();"> <input type="text" name="LoginName" size="8" value="Username" onMouseOver="this.focus()" onMouseOut="if(this.value=='') this.value='username';" onFocus="this.select()" onClick="if(this.value=='username')this.value=''"> <input type="password" name =" passwd" size="8" value="******" onMouseOver="this.focus()" onMouseOut="if(this.value=='')this.value='**** ** ';" onFocus="this.select()" onClick="if(this.value=='******')this.value=''"> <select name="selectway"> < 옵션 값 ="count" selected>무료 카운터</option> <option value="guestbook">무료 게시판</option> </select> <input type=submit value="Submit" name="submit"> < /form >