Insert files into HTML input programmatically via javascript -
is there way put file server file type input tag via javascript? way change value of text type input, want insert file file type input.
i tried things like:
var _file = new file(); document.getelementbyid('fileinputid').files[0] = _file;
but seems filelist property of input protected , cannot change file objects inside it.
i want bring file server , load file input.
is there way achieve issue?
thank y'all!
Comments
Post a Comment