- Contact US
- Posting Guidelines
- Javascript FAQ
- Custom User Controls
- CODE
- CODE
- My Archive
- HTML5: File Input with Folder Selection
- How to access the selected Folders via JavaScript
- Browser Support
- About the Author
- Related Topics
- Rename File to its Folder Name
- How to resize Image before Upload in Browser
- HTML5 Canvas: Beginner Tutorial Chapter 1 — Introduction and Basics
- HTML: Preassign HTML Form with Data
- Send HTML5 Canvas as Image to Server
- HTML5: Upload Images with Client Side Resize
- jQuery: Send HTML5 Canvas to Server via Ajax
- Important Note
- Participate
- How to get folder directory from html input type «file» or any other way?
- Method 1: Using JavaScript
- Method 2: Using a File Path Library
- Method 3: Server-side Processing
- HTML file inputs support picking directories
- Rails Long Term Support
- Usage
- Browser support
Contact US
*Tek-Tips’s functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Posting Guidelines
Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Javascript FAQ
Custom User Controls
Code to call the folder dialog box
CODE
CODE
var currentFolder=»»;
function GetDriveList() var fso, obj, n, e, item, arr=[];
try <
fso = new ActiveXObject(«Scripting.FileSystemObject»);
>
catch(er) alert(‘Could not load Drives. The ActiveX control could not be started.’);
cancelFolder();
>
var subfolders=GetSubFolderList(fld);
for(var j=0;j