0

Paste button codes

Can someone help with codes to paste from clipboard ?

25th Apr 2019, 8:52 AM
Santosh Kumar
Santosh Kumar - avatar
2 Answers
+ 3
check this one, https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API possible to do in some browser navigator.clipboard.readText().then(text=> alert(text)) there are also document.exec("paste")
25th Apr 2019, 9:08 AM
Taste
Taste - avatar