The jQuery file upload plugin Dropzone.js
supports maxFiles option. You can set simply desired number for file upload
like this maxFiles:1. If you set one, then it will allow one file at a time. Further,
you can call maxfilesexceeded function. It will delete the preview of the first
file and add the new one.
more details
supports maxFiles option. You can set simply desired number for file upload
like this maxFiles:1. If you set one, then it will allow one file at a time. Further,
you can call maxfilesexceeded function. It will delete the preview of the first
file and add the new one.
No comments:
Post a Comment