I want to set file object which i had uploaded into another
<input type='file' name="file" id="fileid" />
I had also tried with
$("#fileid").attr("files",fileObject);
but it doesn't work. Is there any other solution to set file object into form input field??