Javascript read file without using input

You simply can’t do what you are trying to do. Setting the path for an input element through Javascript is not possible, as a security measure. Please check here: How to resolve the C:\fakepath?

Leave a Comment