title: How can I get a list of images in a folder using javascript?
body: <p>I have a folder tree like so:</p>
  
  <ol>
  <li><strong>ProjectFolder</strong>
  <ul>
  <li><strong>img</strong>
  <ul>
  <li><em>fjdkslajsd.jpg</em></li>
  <li><em>fjowefwask.jpg</em></li>
  <li><em>fweoifqadf.jpg</em></li>
  <li>...</li>
  </ul></li>
  <li><strong>scripts</strong>
  <ul>
  <li><em>script.js</em></li>
  <li><em>jquery.js</em></li>
  </ul></li>
  <li><strong>stylesheets</strong>
  <ul>
  <li><em>styles.css</em></li>
  </ul></li>
  <li><em>index.html</em></li>
  </ul></li>
  </ol>
  
  <p>The <em>index.html</em> file pretty much just links to the scripts and stylesheet, and contains a div to hold my content. What I want to do is have the <em>script.js</em> find all the names of the images in the <strong>img</strong> folder and put them in a list so that I can later cycle through the list and display the images one by one. The end result would essentially look like a powerpoint that continuously cycles through the images in the <strong>img</strong> folder and displays them.</p>
  
  <p>I hope that clears up any of your questions, so here's mine... How would I capture a list of strings that contain the names of the images in the <strong>img</strong> folder? I already know how to cycle through the list and display the images, but I have no idea how I would tackle GETTING the list.</p>