How can I create a directory chooser in html page. If I use input file element I can select file only, but I need to select directory instead. I need to do this beac
Scripting is inevitable.
This isn't provided because of the security risk. is closest, but not what you are looking for.
Checkout this example that uses Javascript to achieve what you want.
If the OS is windows, you can use VB scripts to access the core control files to browse for a folder.