먼저 HTML에 태그 몇가지를 적어줍니다. 클릭후 확인을 할 수 있어야 하니까요? 아래는 자바스크립트 코드입니다. function fileOpen() { var input = document.createElement("input"); input.type = "file"; input.accept = "text/plain"; input.onchange = function (event) { processFile(event.target.files[0]); // 열린 파일 }; input.click(); } function processFile(file) { var reader = new FileReader(); reader.onload = function () { console.log(reader.result)..