첨부파일 |
<>
function fn_egov_downFile(atchFileId, fileSn,bbsNo){
window.open("/cmm/fms/FileDownAllUserOri.do?atchFileId="+atchFileId+"&fileSn="+fileSn);
}
function fn_egov_deleteFile(atchFileId, fileSn) {
var forms = document.getElementsByTagName("form");
for (var i = 0; i < forms.length; i++) {
if (typeof(forms[i].atchFileId) != "undefined" &&
typeof(forms[i].fileSn) != "undefined" &&
typeof(forms[i].fileListCnt) != "undefined") {
form = forms[i];
}
}
if(confirm("첨부파일을 삭제하시겠습니까?")){
//form = document.forms[0];
form.atchFileId.value = atchFileId;
form.fileSn.value = fileSn;
form.action = "/cmm/fms/deleteFileInfs.do";
form.submit();
}
}
function fn_egov_check_file(flag) {
if (flag=="Y") {
document.getElementById('file_upload_posbl').style.display = "block";
document.getElementById('file_upload_imposbl').style.display = "none";
} else {
document.getElementById('file_upload_posbl').style.display = "none";
document.getElementById('file_upload_imposbl').style.display = "block";
}
}
|