I am working on html and java script. I have file type input so that I want the input file to be only a .xls file
<input type='file' id ="browse" name ="browse"/>
Now I want the selected files to be only the .xls .. file and read that xls file. how to do it with java script ... And if someone can explain me JavaScript code that would be more appreciated.
source share