ajax1 [javascript, ajax] read and parse csv file on server 클라이언트에서 업로드 하는것이 아니라, server에 있는 파일을 업로드 하는게 트릭이 아니면 쉽지 않다. ajax라는 것을 사용. parse는 여러가지 라이브러리가 많은데. https://github.com/evanplaice/jquery-csv을 사용 전체 코드 12345678910111213141516171819202122232425262728293031323334 function read_with_ajax(url,fun,holder){//url,function,just a placeholder holder=new XMLHttpRequest; holder.open('GET',url); holder.onload=fun; holder.send() } function alertTxt(){ //alert(.. 2018. 4. 10. 이전 1 다음