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

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -