Skip to content
Advertisement

Tag: clipboard

How to Copy Text to clipboard upon echo with PHP & JS?

apologies if this sounds super stupid. I’ve spent some time trying to do this, and the only way I’ve found is after clicking something like a button. I have a form for generating license keys and I would like to copy license key to clipboard after generation, so I’d like to know if there’s some JavaScript code that I can

Advertisement