form태그로 첨부파일 전송 form 제목 내용 입력 체크(빈값체크)
onsubmit="return reportSend(); 폼 전송전에 작업 수행하게 하는 이벤트 전송 버튼을 클릭하면 reportSend() 함수를 호출하라 라는 뜻 reportSend()는 제목과 내용의 빈값을 체크하는 함수이다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 직원소리 발송하기 제목 내용 첨부파일 function reportSend() { console.log("resport Send"); var reportTitle = $("#reportTitle").val().trim(); var reportContents = $..