I have written a web page that reads an input file and outputs a dashboard. Every month there will be a new input file (stored in its own sub directory with some other files) and I want to be able to archive the old files and display them in a drop down menu as options to display. I can read the home directory and get a list of all the directories but I can’t figure out how to run the web page using the chosen directory as an argument.
Share
I solved this problem by putting the drop down list in the web code so that it is displayed on page load and the html for the dashboard is hidden. When selection is made the table is populated and made visible. It just means that there is always a drop down list at the top of my tables but I have decided that this is a good thing.