on 02-27-2018 12:18 PM
I have tried with IE browser i am able to get data from clipboard by using syntax :-window.clipboardData.getData('Text').
But same syntax is not working with chrome browser, so please help me with any other code or procedure to get data from browser.This request is based on client requirement copied data is saved in clipboard so i need to fetch the data from clipboard on click on the button event.
There is no cross-browser support for clipboardData.
There is a lot of information available on the internet about this:
https://stackoverflow.com/questions/20509061/window-clipboarddata-getdatatext-doesnt-work-in-chrome
https://dzone.com/articles/cross-browser-javascript-copy-and-paste
https://www.google.pl/search?ei=IFOVWuPCCtHIjwO-k5fYBQ&q=window.clipboardData.getData+chrome
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.