I push this into an array with a some various text like user, reference etc.... It is an array as I may do up to 10x at once in the entire process of uploading, interpreting and storing data from the file
var file = document.getElementById("myfilefield").files; //JUST filename. var file = document.getElementById("myfilefield").value; // FAKEPATH in path.
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>