Posted by Jukka K. Korpela on 12/08/06 01:13
Scripsit jonesy <3:
> Is it possible using <input type="file"> to return the file name
> without the path?
Maybe. You can't count on that, though. Browsers are expected to do so, but
most don't.
> If not, is there any other way of coding a "browse" button that after
> selecting a file it returns just the file name into the text box?
No.
What's your _real_ problem? Please don't forget to illustrate it with a URL
if you want to have it solved.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|