function init(){
document.getElementById("proc").attachEvent("onload",iframeOnload);
}
function iframeOnload(){
//처음 초기값 null! 이걸로 중복방지
document.regiFrm.enterFlag.value='';
}
function enterKeyEvent(){ //엔터키 이벤트
if(event.keyCode ==13){
onclickBtnSearch();
event.returnValue=false;
}
}
function onclickBtnSearch(){
var frm =document.regiFrm; //해당 폼
//중복실행방지
if(frm.enterFlag.value){
return;
}
/**
이부분은 해당 폼 실행하기 전에 체크할것
*/
frm.enterFlag.value='ing'; //ing값을 주어서
f.submit(); //고고싱
}
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="init()">
<form name="regiFrm" action="cat_save.jsp" method="post">
//~해당소스
//inputbox 안에서 엔터키 부분
<input type="text" name="category_name" maxlength="50" value="<%=strCategoryName%>" onKeyDown="if(event.keyCode==13){javascript:enterKeyEvent();return false;}" style="border : 1 solid #6b6b6b; width:220px; height:20px" tabindex="1" onKeypress="javascript:codeCheck(event)"/>
//버튼부분
<img src="<%=strLangPath%>/img1/btn_ins04.gif" hspace="2" style="cursor:hand" onClick="javascript:onclickBtnSearch();" tabindex="2" />
//해당하는 폼안에 iframe작성
<iframe name="proc" id="proc" style="width:0;height:0"></iframe>
</form><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
document.getElementById("proc").attachEvent("onload",iframeOnload);
}
function iframeOnload(){
//처음 초기값 null! 이걸로 중복방지
document.regiFrm.enterFlag.value='';
}
function enterKeyEvent(){ //엔터키 이벤트
if(event.keyCode ==13){
onclickBtnSearch();
event.returnValue=false;
}
}
function onclickBtnSearch(){
var frm =document.regiFrm; //해당 폼
//중복실행방지
if(frm.enterFlag.value){
return;
}
/**
이부분은 해당 폼 실행하기 전에 체크할것
*/
frm.enterFlag.value='ing'; //ing값을 주어서
f.submit(); //고고싱
}
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="init()">
<form name="regiFrm" action="cat_save.jsp" method="post">
//~해당소스
//inputbox 안에서 엔터키 부분
<input type="text" name="category_name" maxlength="50" value="<%=strCategoryName%>" onKeyDown="if(event.keyCode==13){javascript:enterKeyEvent();return false;}" style="border : 1 solid #6b6b6b; width:220px; height:20px" tabindex="1" onKeypress="javascript:codeCheck(event)"/>
//버튼부분
<img src="<%=strLangPath%>/img1/btn_ins04.gif" hspace="2" style="cursor:hand" onClick="javascript:onclickBtnSearch();" tabindex="2" />
//해당하는 폼안에 iframe작성
<iframe name="proc" id="proc" style="width:0;height:0"></iframe>
</form><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
댓글 2개
mirrV
14년 전
잘쓰겠습니다.
14년 전
와 정말 좋네요~잘쓸게요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7830 | 10년 전 | 460 | ||
| 7829 |
|
10년 전 | 646 | |
| 7828 | 10년 전 | 571 | ||
| 7827 | 10년 전 | 472 | ||
| 7826 | 10년 전 | 494 | ||
| 7825 | 10년 전 | 525 | ||
| 7824 | 10년 전 | 487 | ||
| 7823 | 10년 전 | 426 | ||
| 7822 | 10년 전 | 400 | ||
| 7821 | 10년 전 | 347 | ||
| 7820 | 10년 전 | 368 | ||
| 7819 |
|
10년 전 | 767 | |
| 7818 | 10년 전 | 426 | ||
| 7817 | 10년 전 | 604 | ||
| 7816 | 10년 전 | 443 | ||
| 7815 | 10년 전 | 638 | ||
| 7814 | 10년 전 | 477 | ||
| 7813 | 10년 전 | 434 | ||
| 7812 | 10년 전 | 441 | ||
| 7811 | 10년 전 | 419 | ||
| 7810 | 10년 전 | 616 | ||
| 7809 | 10년 전 | 553 | ||
| 7808 | 10년 전 | 432 | ||
| 7807 | 10년 전 | 441 | ||
| 7806 |
프로그래머7
|
10년 전 | 1363 | |
| 7805 | 10년 전 | 1306 | ||
| 7804 |
zahir1312
|
10년 전 | 805 | |
| 7803 |
|
10년 전 | 1405 | |
| 7802 | 10년 전 | 505 | ||
| 7801 | 10년 전 | 884 | ||
| 7800 | 10년 전 | 1111 | ||
| 7799 | 10년 전 | 594 | ||
| 7798 | 10년 전 | 541 | ||
| 7797 | 10년 전 | 561 | ||
| 7796 | 10년 전 | 396 | ||
| 7795 | 10년 전 | 548 | ||
| 7794 | 10년 전 | 590 | ||
| 7793 | 10년 전 | 1088 | ||
| 7792 | 10년 전 | 510 | ||
| 7791 | 10년 전 | 608 | ||
| 7790 | 10년 전 | 531 | ||
| 7789 |
fbastore
|
10년 전 | 1483 | |
| 7788 | 10년 전 | 588 | ||
| 7787 | 10년 전 | 446 | ||
| 7786 | 10년 전 | 654 | ||
| 7785 | 10년 전 | 626 | ||
| 7784 | 10년 전 | 690 | ||
| 7783 | 10년 전 | 509 | ||
| 7782 | 10년 전 | 533 | ||
| 7781 | 10년 전 | 937 | ||
| 7780 | 10년 전 | 846 | ||
| 7779 | 10년 전 | 799 | ||
| 7778 | 10년 전 | 391 | ||
| 7777 | 10년 전 | 503 | ||
| 7776 | 10년 전 | 500 | ||
| 7775 | 10년 전 | 435 | ||
| 7774 | 10년 전 | 647 | ||
| 7773 | 10년 전 | 402 | ||
| 7772 | 10년 전 | 776 | ||
| 7771 | 10년 전 | 433 | ||
| 7770 | 10년 전 | 674 | ||
| 7769 | 10년 전 | 434 | ||
| 7768 | 10년 전 | 654 | ||
| 7767 | 10년 전 | 1207 | ||
| 7766 | 10년 전 | 535 | ||
| 7765 | 10년 전 | 593 | ||
| 7764 |
잘살아보자
|
10년 전 | 454 | |
| 7763 |
|
10년 전 | 1501 | |
| 7762 |
Tosea
|
10년 전 | 1087 | |
| 7761 | 10년 전 | 692 | ||
| 7760 |
잘살아보자
|
10년 전 | 762 | |
| 7759 |
잘살아보자
|
10년 전 | 601 | |
| 7758 |
잘살아보자
|
10년 전 | 658 | |
| 7757 | 10년 전 | 1284 | ||
| 7756 |
ITBANK
|
10년 전 | 1290 | |
| 7755 | 10년 전 | 1945 | ||
| 7754 | 10년 전 | 1102 | ||
| 7753 | 10년 전 | 922 | ||
| 7752 | 10년 전 | 1422 | ||
| 7751 |
잘살아보자
|
10년 전 | 580 | |
| 7750 |
잘살아보자
|
10년 전 | 510 | |
| 7749 |
잘살아보자
|
10년 전 | 531 | |
| 7748 |
잘살아보자
|
10년 전 | 560 | |
| 7747 |
잘살아보자
|
10년 전 | 638 | |
| 7746 |
잘살아보자
|
10년 전 | 700 | |
| 7745 |
잘살아보자
|
10년 전 | 949 | |
| 7744 |
잘살아보자
|
10년 전 | 441 | |
| 7743 | 10년 전 | 971 | ||
| 7742 |
starbros
|
10년 전 | 865 | |
| 7741 |
잘살아보자
|
10년 전 | 708 | |
| 7740 |
잘살아보자
|
10년 전 | 595 | |
| 7739 |
잘살아보자
|
10년 전 | 487 | |
| 7738 |
잘살아보자
|
10년 전 | 562 | |
| 7737 |
잘살아보자
|
10년 전 | 542 | |
| 7736 |
잘살아보자
|
10년 전 | 562 | |
| 7735 |
잘살아보자
|
10년 전 | 898 | |
| 7734 |
잘살아보자
|
10년 전 | 454 | |
| 7733 |
잘살아보자
|
10년 전 | 564 | |
| 7732 |
잘살아보자
|
10년 전 | 731 | |
| 7731 |
잘살아보자
|
10년 전 | 654 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기