Well, the files attribute of an input[type=file]
is read-only. Therefore I can not write my blob data into this input element.
But if I create a new input file element using Javscript
, then possible to insert blob data on creation? I am only interested in solutions working in chrome (extension)
- other browsers do not matter.
new File()
constructor is available at chromium / chrome 38+. See File Constructor Sample , File API.