Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
Java Script Folder Object.
Pulkit Malhotra
Ranch Hand
Posts: 30
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How can i read the folder in
java
script ?. Is there any folder object by which i can get the name of files in the folder ?.
Can you suggest any way to read the folder ?.
Please help me.
Regards,<br />Pul_Mal
Ulf Dittmer
Rancher
Posts: 43081
77
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is "the folder"? Something on the client or on the server? JavaScript has no access to the client-side filesystem.
Eric Pascarello
author
Posts: 15385
6
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
There is no HTML folder input. You onlyhave the file input.
If you want to do this, you need to look into an
Applet
, Flash, Etc.
Eric
Pulkit Malhotra
Ranch Hand
Posts: 30
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Folder is in server. One option is to write
servlet
but due to some constraints need to do it with Java Script only.
Regards,<br />Pul_Mal
Eric Pascarello
author
Posts: 15385
6
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If the folder is on your server, JavaScript still can not do it. Your serverside code would have to display the values.
Eric
Bauke Scholtz
Ranch Hand
Posts: 2458
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I hope that you do not confuse JavaScript (JS) with JavaServer Pages (
JSP
). Otherwise I really don't see any reason why you think that it should be possible with JavaScript.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Where to store css and js files in eclipse
How to stop BEEP
getting cookie expire time with java script
setting of class path for JSP in eclipse
opening Folder dialog box through java script
More...