how to open file upload in dialog box using html code example
Example 1: open the file upload dialogue box onclick the image
<input type="file" id="imgupload" style="display:none"/>
<button id="OpenImgUpload">Image Upload</button>
$('#OpenImgUpload').click(function(){ $('#imgupload').trigger('click'); });
Example 2: onclick button how to import file upload using dialog in html
<input type="file" id="imgupload" style="display:none"/>
<button id="OpenImgUpload">Image Upload</button>