To boil it down, I have two inputs on the page. One is a text input, the other is a file input. If I copy and paste an Excel spreadsheet cell to the text input, it triggers a file upload to the file input. I'd like to allow copy-paste without triggering the file upload.
The key here is to set the pasteZone
to null
$("#fileupload").fileupload({
pasteZone: null //make it $(document) or specific container for enabling it
})
Documentation
Credit
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