웹모아
웹모아[가입] 로그인 / 회원가입   검색     


  
버턴관련테그
 

[RE] input type=\\
2006-12-30 20:50:51 댓글:(0)   조회:10571
 


<script language="JavaScript">
<!--
    function filedelete( form,val,name)
    {
       //alert(form+':'+val+':'+name);
       var files = document.getElementsByName("upload[]");
       //alert(files[0].value+':'+files[1].value+':'+files[2].value);
       var tmpfile;
       for (var i=0; i<100; i++){
         tmpfile=files[i].value;
         if (val==tmpfile){
           files[i].select();
           document.execCommand('Delete');
           break;
         }
       }
    }
//-->
</script>
<form>
    <input type="file"  name="upload[]" onkeyPress="if(event.keyCode==13&&this.value!='') if(confirm('삭제하시겠습니까?')) javascript:filedelete(this.form,this.value,this.name)"><br>
    <input type="file"  name="upload[]" onkeyPress="if(event.keyCode==13&&this.value!='') if(confirm('삭제하시겠습니까?')) javascript:filedelete(this.form,this.value,this.name)"><br>
    <input type="file"  name="upload[]" onkeyPress="if(event.keyCode==13&&this.value!='') if(confirm('삭제하시겠습니까?')) javascript:filedelete(this.form,this.value,this.name)"><br>
</form>

. 


[이전글]  체크박스라디오버튼체크유무검사.html
[다음글]  [RE] input type=\\


 
댓글쓰기는 회원(로그인 하신분) 이상 가능합니다.


 댓글 (0)

  
버턴관련테그
페이지: 1 / 3   

 label 태그
열람:13160   2009.02.15


   [RE] Label 태그를 Image로 하기
열람:10429   2009.02.15


 Select 꾸미기 optgroup 사용
(홈마스타) 열람:9800   2007.06.10


 체크박스라디오버튼체크유무검사.html
(홈마스타) 열람:10942   2007.05.30


 input type="file" 의 value값 초기화 시키기
(홈마스타) 열람:10970   2006.12.30


   [RE] input type=\
(홈마스타) 열람:11464   2006.12.30


   [RE] input type=\
(홈마스타) 열람:10572   2006.12.30


 input 버턴의 모양
(홈마스타) 열람:8976   2006.12.21


 중보입력 방지 루틴
(홈마스타) 열람:10356   2006.09.05


 파일업로드 버턴을 이미지로
(홈마스타) 열람:2285   2006.08.05



[1]  [2]  [3]  

복수단어 검색은 공백(space)로 구분해 주세요.




 
최근 글 [손님]
 
인기 글 [손님]
[예진아씨] 자료없음
[홈마스타] (1) oledb 접근 오류