在chrome中多次单击HTML输入类型文件
我有这个HTML输入元素在chrome中多次单击HTML输入类型文件,html,css,Html,Css,我有这个HTML输入元素 <input name="file_image" type="file" class="chosen_file" style="width:202px;color:rgba(255, 255, 255, 1);display: inline;" id="imgUpload" onchange="imgUploadValidation();" accept="image/*" />
<input name="file_image" type="file"
class="chosen_file"
style="width:202px;color:rgba(255, 255, 255, 1);display: inline;"
id="imgUpload"
onchange="imgUploadValidation();"
accept="image/*" />
在chrome浏览器中,当我多次单击选择文件
按钮时,文件选择窗口也会多次弹出。比如,当我点击按钮3次后,会弹出一个窗口,点击取消按钮后,会弹出另一个窗口,依此类推。但这个问题只存在于chrome浏览器中。有什么想法吗