Search code examples
javascriptjqueryblueimp

One file upload at a time in blueimp jquery upload


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


Solution

  • You can remove the element from document at change event, using Node.removeChild() or set element style to display:none