<script type="text/javascript">
function OnSubmitForm()
{
if(document.pressed == 'Insert')
{
document.myform.action ="insert.html";
}
else if(document.pressed == 'Update')
{
document.myform.action ="update.html";
}
return true;
}
</script>
<form name="myform" onsubmit="return onsubmitform();">
<input type="submit" name="operation" onclick="document.pressed=this.value" value="insert" />
<input type="submit" name="operation" onclick="document.pressed=this.value" value="update" />
</form>
function OnSubmitForm()
{
if(document.pressed == 'Insert')
{
document.myform.action ="insert.html";
}
else if(document.pressed == 'Update')
{
document.myform.action ="update.html";
}
return true;
}
</script>
<form name="myform" onsubmit="return onsubmitform();">
<input type="submit" name="operation" onclick="document.pressed=this.value" value="insert" />
<input type="submit" name="operation" onclick="document.pressed=this.value" value="update" />
</form>
댓글 7개
14년 전
중복게시물로 싱고합니다... ㅋ
... 잠깐 사이에 그 전게시물이 삭제되었더러구요 .... 싱고보류 ~~~
... 잠깐 사이에 그 전게시물이 삭제되었더러구요 .... 싱고보류 ~~~
방황하는중년
14년 전
리자님 이러시면 곤란하심 -_- 신고 할까용 -_-??
헉 신고 할려니 활동지수 1점 부족 ㅠ.ㅠ
그래도 1회 추천은 제가 했다는거.... --ㅋ
헉 신고 할려니 활동지수 1점 부족 ㅠ.ㅠ
그래도 1회 추천은 제가 했다는거.... --ㅋ
14년 전
그 전 게시물이 지워졌습니다.
이러면 또 링크 오작동 발령이군요 .... 에효 ....
이러면 또 링크 오작동 발령이군요 .... 에효 ....
14년 전
오신김에 추천이나 해주세요. ㅎㅎ
방황하는중년
14년 전
이미 추천은 해드려서 더 추천은 불가 합니다 --ㅋ
대신 리자님 코드 날로 먹기 모드 ^^;;
-----------------------------------------------------------
<script>
function rtcheckfrm() {
var frm = document.mms80form;
if (frm.yayak[1].checked){
frm.action = "./Upload2";
} else {
frm.action = "./Upload";
}
return true;
document.form.submit();
}
</script>
<FORM name=mms80form enctype="multipart/form-data" method="post" onSubmit="return rtcheckfrm();">
필요폼 내용들.....
<input type="radio" name="yayak" value="0" checked> 즉시
<input type="radio" name="yayak" value="1"> 예약
<input type='image' src="img/sms/mobil_send.gif" name='Send' title="전송할려면 눌러유~~~">
</FORM>
이렇게 하시면 1개의 submit 문으로 -_-;;; radjo 버턴으로 대처하실수 있을듯 합니다..
대신 리자님 코드 날로 먹기 모드 ^^;;
-----------------------------------------------------------
<script>
function rtcheckfrm() {
var frm = document.mms80form;
if (frm.yayak[1].checked){
frm.action = "./Upload2";
} else {
frm.action = "./Upload";
}
return true;
document.form.submit();
}
</script>
<FORM name=mms80form enctype="multipart/form-data" method="post" onSubmit="return rtcheckfrm();">
필요폼 내용들.....
<input type="radio" name="yayak" value="0" checked> 즉시
<input type="radio" name="yayak" value="1"> 예약
<input type='image' src="img/sms/mobil_send.gif" name='Send' title="전송할려면 눌러유~~~">
</FORM>
이렇게 하시면 1개의 submit 문으로 -_-;;; radjo 버턴으로 대처하실수 있을듯 합니다..
14년 전
얼마 전에 올라온 글의 방법이 웹 접근성에서 훨씬 좋습니다.
http://sir.co.kr/bbs/board.php?bo_table=tiptech&wr_id=11961
http://sir.co.kr/bbs/board.php?bo_table=tiptech&wr_id=11961
14년 전
스크립트 방식까지 나와 있으면 완전 강추입니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4032 | |
| 29 |
아우겐나이스
|
21년 전 | 4430 | |
| 28 |
아우겐나이스
|
21년 전 | 3450 | |
| 27 | 21년 전 | 5814 | ||
| 26 | 21년 전 | 3085 | ||
| 25 | 21년 전 | 6065 | ||
| 24 | 18년 전 | 3638 | ||
| 23 | 21년 전 | 3627 | ||
| 22 | 21년 전 | 4236 | ||
| 21 | 21년 전 | 3811 | ||
| 20 | 21년 전 | 4210 | ||
| 19 | 21년 전 | 6668 | ||
| 18 | 21년 전 | 4728 | ||
| 17 | 21년 전 | 6972 | ||
| 16 | 21년 전 | 4162 | ||
| 15 | 21년 전 | 2615 | ||
| 14 | 21년 전 | 4960 | ||
| 13 | 21년 전 | 3391 | ||
| 12 |
Recluse
|
21년 전 | 3863 | |
| 11 |
아우겐나이스
|
21년 전 | 3558 | |
| 10 |
Recluse
|
21년 전 | 3386 | |
| 9 | 21년 전 | 3965 | ||
| 8 | 21년 전 | 5153 | ||
| 7 | 21년 전 | 4750 | ||
| 6 | 21년 전 | 5663 | ||
| 5 | 21년 전 | 4102 | ||
| 4 | 21년 전 | 4821 | ||
| 3 | 21년 전 | 4733 | ||
| 2 | 21년 전 | 3231 | ||
| 1 | 22년 전 | 4332 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기