Is it possible to execute copy command using click EVENT?
I have some text selected and I want this text to be copied on onClick
event, so that I am able to past this text to another page with out using right click or CTRL+C to copy the text.
Is it possible to execute copy command using click EVENT?
I have some text selected and I want this text to be copied on onClick
event, so that I am able to past this text to another page with out using right click or CTRL+C to copy the text.
HTML
JavaScript
Copy to Clip Board Ctrl+C
use getselection() to get selected text inside a browser window
but for security reasons most browsers do not allow to modify the clipboard( except Internet explorer).