Jump to content

<input type='file'> BUT SELECT DIRECTORY/FILENAME.TXT INSTEAD!


tbot1992@hotmail.com

Recommended Posts

Hey guys!

I'm making a locally run web based application for entering/storing/editing data.

I am trying to do this thing where I export a 'records.txt' file to a different location which can be selected by the user.

I have a lame <input type='text' value='H:\'> box going on which I was going to use to define the path for the file to be saved, but I want to be able to use a pop up windows (or whatever native OS finder application) just like the one which appears when you use <input type='file'>.

 

Now that I think about it, I think this is more of a html question, but it's 2.30am and my project is due today...

See! what the hell, I just habitually pressed ctrl-s after working in dreamweaver for hours and the exact function which I am looking for popped up, how do I do that?!

 

Please thanks guys :D

Link to comment
https://forums.phpfreaks.com/topic/211193-but-select-directoryfilenametxt-instead/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.