假设我输入了[type = file]元素,我想拦截onclick事件并阻止在不满足条件时出现文件对话框.可能吗?为什么,如果 - 不是吗?
html filedialog file input event-handling
event-handling ×1
file ×1
filedialog ×1
html ×1
input ×1