When even I paste any image(on a text input box for example), it is getting uploaded by jquery file uploader.
So, how to stop this?
From the options page(https://github.com/blueimp/jQuery-File-Upload/wiki/Options), the event that is triggered after paste is 'fileuploadpaste'.
Normal jquery event fired after text paste is 'textInput'.
So, how to disable this upload ?
We can simply disable that like this:
$("#fileupload").fileupload({
pasteZone: null //make it $(document) or specific container for enabling it
})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With