I am using blueimp jquery file upload to upload files. However I want a single file to be selected at a time. How do I disable selecting multiple file selections, not meant removing multiple from input. I do not want add another file when one file is selected
您可以在change
事件中使用Node.removeChild()
或将元素style
设置为display:none
来从document
中删除元素
You can disable the element. By using
document.getElementById("ElementID").disabled = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.