I'm new to web development and I already got stuck with my first try. I want the user to be able to select a directory and then list all the files in it. The user should then be able to display the file contents by just clicking on the name in the list. (I want to do it in angular JS but for now plain JS is fine too).
I found this http://www.w3.org/TR/FileAPI/ where the user can select multiple files (I'd rather like the user to be able to select the folder and then just list all files). Now what I couldn't manage to get done is that the user can select one of those files in the list and then display the content of the file. I'm not sure if i understood it correctly from other posts if this is even possible.
Best regards, jan