Jump to content

File Input- Can't get full path.


MrFish

Recommended Posts

When I use the "file" input type to get a file from my computer, it only shows the name of the file, not the full path. I'm using this code-

<input id="initFile" type="text" value="No File Selected" />							<input id="initFileButton" type="file" value="" />

and javascript to update initFile. Currently in the js I just grab the "value" attribute and print it to the text input, but like I said, it's only the name. How can I fix this?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...