read the excel file from the directory not from the address that you given

后端 未结 1 1867
说谎
说谎 2021-02-10 03:46

I am using html5 and javascript. I want to read the Excel file which is chosen by the user from the directory (using a file dialog) but all I know is to read an excel file by th

1条回答
  •  不思量自难忘°
    2021-02-10 04:37

    Try the following code, it is a bit of a hack and it seems to work with IE7. However, it will not work with other browsers because they will not show the file path. Other browsers will also never be able to show the ActiveXObject (Excel).

    
    
    
    
    
    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题