English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If so, how do you do it?

2006-11-10 03:57:00 · 3 answers · asked by samw3 2 in Computers & Internet Programming & Design

The reason is for aesthetics.. seeing a file path in a browse box is ugly.

2006-11-10 05:40:23 · update #1

3 answers

I tried doing anything I could think of and could not come up with anything that would work for type file.

Sorry, looks to me like this is not something that can be done.

2006-11-11 15:01:44 · answer #1 · answered by miketech_79 3 · 0 0

If you use serverside scripting such as php then you can. Another way to include txt files is to call it using a javascript - like: Put this in the body of your html: Then create a new text file in the same folder as your html file called text.txt and put this in it: document.write('Your text file'); Open the html file in your browser and it should display the text "Your text file" (assuming you have javascript turned on). Make sure you don't delete the document.write(''); as it will make the script not work.

2016-05-22 02:54:07 · answer #2 · answered by Anonymous · 0 0

Why would you want to do that? The whole purpose of the 'browse' function is so once the user maps to the file (from clicking the button) they can see the physical path outlines in the text box.

2006-11-10 04:27:06 · answer #3 · answered by The First 3 · 0 1

fedest.com, questions and answers