Displaying directory/file list without server-side scripting
<p>It would be best if I could do it through just JavaScript and HTML, but I'm open to other solutions as well. I have a html file in a folder with a number of subdirectories and am trying to get a list of those subdirectories as well as the files within them. This needs to be able to run without server-side scripting, so php is out (which would have been far easier).</p>

<p>I have a file system set up like...</p>

<pre><code>index.html
subdir1
    file1
    file2
subdir2
    file3
    file4
</code></pre>

<p>etc...</p>

<p>I want index.html, when it loads, to display a list of the subdirectories and the names of the files within them. Is there a method or library that I can use to do this? The files will all be stored locally.</p>
