2014-07-14 4 views

답변

3

단지 HTML을 input 태그,

<input type="file" name="file"/> 

를 사용합니다. 업로드 할 수 있습니다.

엑셀 파일 2003-2007 (.XLS), 사용을 위해,

excel 파일을 업로드하려면 다음 엑셀 파일에 대한

<input type="file" accept="application/vnd.ms-excel" /> 

2010 (.XLSX), 사용 :

<input type="file" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> 

은 ae xcel 파일

+0

그리고 입력이 Excel 시트인지 확인하는 데 javascript를 사용하십시오. – nsthethunderbolt

+0

html로도 가능합니다 :) –

관련 문제