iframe으로 submit 시 파일 첨부 오류

iframe으로 submit 시 파일 첨부 오류

QA

iframe으로 submit 시 파일 첨부 오류

답변 2

본문

글쓰기를 하면 iframe으로 보내서 창이 넘어가지 않고 submit 되게 만들었는데요

글 작성이 잘 되는데 파일 첨부만 안되더라구요

어느 부분을 보면 파일 첨부가 되게 수정할 수 있을까요?


window.open('','pop_name1');
document.fwrite1.method = "post";
document.fwrite1.action = "http://kocoa.org/bbs/write_update.php"
document.fwrite1.target="pop_name1";
document.fwrite1.submit();

 

자바스크립트는 이런식으로 썼구요

 

<input type="file" name="bf_file[]" title="파일첨부 1 :  용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input">

 

파일 첨부는 이렇게 들어가 있습니다

이 질문에 댓글 쓰기 :

답변 2

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 0
© SIRSOFT
현재 페이지 제일 처음으로