开发者

Fill in a text field with a file system path

开发者 https://www.devze.com 2023-04-05 10:15 出处:网络
I have an HTML form and one the pieces of data we are collecting is a folder location.Right now the users have to manually input the path.I\'ve been asked to make this easier.My thought was to provide

I have an HTML form and one the pieces of data we are collecting is a folder location. Right now the users have to manually input the path. I've been asked to make this easier. My thought was to provide a file input field, and have the user select a file in the needed folder, and then use javascript to parse the full file system path, and populate the other开发者_开发问答 field. The product owners seemed to like that idea. Since I have been trying to come up with some javascript to do this, and haven't been very successful. Any recommendations?


This information is deliberately inaccessible for security reasons.

0

精彩评论

暂无评论...
验证码 换一张
取 消