set text of file input

Solutions on MaxInterview for set text of file input by the best coders in the world

showing results for - "set text of file input"
Leila
16 Jul 2016
1<input type="button" id="loadFileXml" value="loadXml" onclick="document.getElementById('file').click();" />
2<input type="file" style="display:none;" id="file" name="file"/>
3