Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js C:fakepath

// Use
document.getElementById("file-id").files[0].name; 

// instead of
document.getElementById('file-id').value
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js
ADD COMMENT
Topic
Name
5+1 =