I'm looking to create a page that contains a JavaScript-based collapsable directory tree, that will list folders and their sub-folders, each with a checkbox next to them. This directory tree will consist of folders that exist on the client's machine. The client would then check the boxes of the chosen folders, and upon submitting the form the path of the checked folders would be sent to the server.
I'm hoping that something like this already exists to some extent so I don't have to start from scratch, I can instead modify something that exists. Anyone know of any such projects?