0
<button><pre>lt;/pre></button> How to do Onclick Copy
<button><pre>
lt;/pre></button> Now I want have to copy the text which is written in "pre" tag as soon as someone clicks on the button. Can anyone solve this problem ?. {Only use JavaScript or jQuery}1 Respuesta
+ 5
Basic code that I came up with, modify it depending on your requirement.
https://code.sololearn.com/WAyCB9H3Gv5R/?ref=app