1<input type="file" id="file" style="display:none;" />
2<button id="button" name="button" value="Upload" onclick="thisFileUpload();">Upload</button>
3
4<script>
5 function thisFileUpload() {
6 document.getElementById("file").click();
7 };
8</script>