<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="content-type" content="text/html; charset=euc-kr">
<TITLE> Sample Script </TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
var submitcount=0;
function reset() {
document.emailform.name.value="";
document.emailform.email.value="";
document.emailform.comments.value="";
}
function checkFields() {
if ( (document.emailform.name.value=="") ||
(document.emailform.email.value=="") ||
(document.emailform.comments.value=="") )
{
alert("항목을 채워주세요");
return false;
}
else
{
if (submitcount == 0)
{
submitcount++;
return true;
}
else
{
alert("버튼은 한번만 눌러주세요");
return false;
}
}
}
//-->
</script>
</HEAD>
<BODY onLoad="reset()">
<form method=post action="#" name="emailform" onSubmit="return checkFields()">
<input type=hidden name=to value="이메일@주소">
<input type=hidden name=subject value="메일제목">
<pre>
이 름 : <input type=text name="name">
이메일 : <input type=text name="email">
하실말씀
<textarea name="comments" wrap="virtual" rows="7" cols="45"></Textarea>
<input type=submit>
</pre>
</form>
</BODY>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<HTML>
<HEAD>
<META http-equiv="content-type" content="text/html; charset=euc-kr">
<TITLE> Sample Script </TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
var submitcount=0;
function reset() {
document.emailform.name.value="";
document.emailform.email.value="";
document.emailform.comments.value="";
}
function checkFields() {
if ( (document.emailform.name.value=="") ||
(document.emailform.email.value=="") ||
(document.emailform.comments.value=="") )
{
alert("항목을 채워주세요");
return false;
}
else
{
if (submitcount == 0)
{
submitcount++;
return true;
}
else
{
alert("버튼은 한번만 눌러주세요");
return false;
}
}
}
//-->
</script>
</HEAD>
<BODY onLoad="reset()">
<form method=post action="#" name="emailform" onSubmit="return checkFields()">
<input type=hidden name=to value="이메일@주소">
<input type=hidden name=subject value="메일제목">
<pre>
이 름 : <input type=text name="name">
이메일 : <input type=text name="email">
하실말씀
<textarea name="comments" wrap="virtual" rows="7" cols="45"></Textarea>
<input type=submit>
</pre>
</form>
</BODY>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6027 | 9년 전 | 311 | ||
| 6026 | 9년 전 | 271 | ||
| 6025 | 9년 전 | 251 | ||
| 6024 | 9년 전 | 410 | ||
| 6023 | 9년 전 | 288 | ||
| 6022 | 9년 전 | 286 | ||
| 6021 | 9년 전 | 282 | ||
| 6020 | 9년 전 | 254 | ||
| 6019 | 9년 전 | 226 | ||
| 6018 | 9년 전 | 209 | ||
| 6017 | 9년 전 | 247 | ||
| 6016 | 9년 전 | 238 | ||
| 6015 | 9년 전 | 200 | ||
| 6014 | 9년 전 | 168 | ||
| 6013 | 9년 전 | 269 | ||
| 6012 | 9년 전 | 210 | ||
| 6011 | 9년 전 | 225 | ||
| 6010 | 9년 전 | 221 | ||
| 6009 | 9년 전 | 311 | ||
| 6008 | 9년 전 | 201 | ||
| 6007 | 9년 전 | 205 | ||
| 6006 | 9년 전 | 255 | ||
| 6005 | 9년 전 | 223 | ||
| 6004 | 9년 전 | 314 | ||
| 6003 | 9년 전 | 273 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기