Jump to content

getting file input full value


aleksanteri

Recommended Posts

I have been doing my php tests but I also have slipped in some JS. one of my problems now is that I don't know any way to get ALL contents of a file object, including the directory.i.e. if I have file object id "file" with value "C:/somefile.txt", using document.getElementById("file").value returns only "somefile.txt" instead of "C:/somefile.txt".Any help on this? :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...