12-22-2009, 08:28 PM
|
#3 (permalink)
|
|
The Wanderer
Join Date: Dec 2008
Location: Auckland, NZ
Posts: 24
Thanks: 0
|
I don't know what relevance the full path of the file on the user's computer has to your web application (I'm assuming that's what you are trying to do) but you can get the filename component like this, where "file" is the id of your input field:
document.getElementById('file').value
I would suspect you cannot get the full path for security reasons.
|
|
|
|