open the file upload dialogue box onclick the image
snippet in html

open the file upload dialogue box onclick the image

user1708

<input type="file" id="imgupload" style="display:none"/> 
<button id="OpenImgUpload">Image Upload</button>

$('#OpenImgUpload').click(function(){ $('#imgupload').trigger('click'); });