Iterate through directory filenames using JavaScript on ASP.NET C#

Posted by Gal V on Stack Overflow See other posts from Stack Overflow or by Gal V
Published on 2010-05-16T10:05:57Z Indexed on 2010/05/16 10:10 UTC
Read the original article Hit count: 286

Filed under:
|
|
|
|

Hello all, I'm trying to read all filenames from a specified (server- not client) folder, and insert all the filenames into a javascript Array.
It should behave like the Directory.GetFiles method in ASP.NET C#.
I created a new array, and I just need the loop method (Javascript or jQuery) to iterate in the specific folder, and insert all the filenames into the array. Thanks all helpers!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about iterate