I have some data in javascript and want to upload the data as a file in forms with an upload field.
Is there a way to use Data URI or files created using the File API for upload fi开发者_如何学JAVAelds(i.e. <input type="file" />
).
It only has to work in the Chrome Browser.
You can't. the <input type='file'>
is not customizable for security concern.
精彩评论