I am working on a web that needs to read data from an xlsx. I´ve looked around and found many instances of people using the input file button to load one archive from the user side and acces it just with the id, it works fine.
<input type="file" id="fileUpload" />
<input type="button" id="upload" value="Upload" onclick="Upload()" />
<script type="text/javascript">
var fileUpload = document.getElementById("fileUpload");
</script>
What i need should be easyer, but i can´t find a way. The file is in the server, it is an xlsx. what tag shoud i use and how?
an example of what i need would be something like:
<file id="fileUpload" src="myxlsx.xlsx" />
<script type="text/javascript">
var fileUpload = document.getElementById("fileUpload");
</script>
but that works