0

I am using Html file Api to read a file.Using i read it.it will show a browse button and select the file and read ..in this manner.

But instead of the above i want to manually set one default file to read every time.With out changing the code how can it possible.

In file Api it read the file from browser using ----

function resetFileUploader() {
   getElem("uploader").innerHTML= '<input id="filechooser" type="file" />'; 
    getElem("filechooser").addEventListener("change", getFile, false);

}

Nidhin T T
  • 298
  • 2
  • 5
  • 15

0 Answers0