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'); });
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'); });
how to enable file input on click on image
<input type="file" id="imgupload">
<a href="#" onclick="$('#imgupload').trigger('click'); return false;">Upload file</a>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us