Skip to content Skip to sidebar Skip to footer

How To Copy To Clipboard In Javascript And Make It Html?

I found some nice solutions here on how to copy text in JavaScript to the clipboard in: How do I copy to the clipboard in JavaScript? But is there any way to give it a type? Want I

Solution 1:

You could just manipulate the string the user selects before sending it to the clipboard. Refer the answer for this question which shows how a string manipulation could be done before copying it to the clipboard.


Post a Comment for "How To Copy To Clipboard In Javascript And Make It Html?"