Jump to content

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


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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.