title: scan files in a directory using ajax/javascript
body: <p>Im a beginner of javascript and ajax. and i would like to use
  ajax to populate my  tag with  which are the
  content of a particular directory.</p>
  
  <p>is there such opendir() fxn in ajax just like in php?
  Where do i start from here?</p>