Is there any way to trigger a paste in jQuery?
Or maybe a broader question: is there any cross-browser way to trigger a paste with Javascript at all?
Getting data from the user's clipboard is a pretty big security risk (for the user). Zero Clipboard will get you part of the way there (requires Flash), although it will only let you mimic paste using what you've copied using their library.
http://code.google.com/p/zeroclipboard/
You won't find a cross-browser JavaScript or jQuery only solution, though.
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