3
How do I paste what’s in the clipboard?
I did a lot of research, but what I found was just the copy, not the necklace!
the only thing I found about necklace, it didn’t work, which was the document.execCommand("paste");
I want when the user clicks on the textbox or button, was pasted what was in the clipboard, so I did so:
$("#URL").click( function () {
document.execCommand("paste");
alert(document.execCommand("paste"));
});
to test, I put the alert
that in addition to not paste, displays: False
I used this Question
Which location you want to copy from?
– Marconi