Link to home
Start Free TrialLog in
Avatar of webrehab
webrehab

asked on

Copy to Clipboard

I have seen a couple of sites, that are driven by php, using a link to copy code samples to the clipboard.  I am wondering how I can add this to a page that I am building.  I am not sure if it is a PHP or javascript function.

Thanks,
John
Avatar of snoyes_jw
snoyes_jw
Flag of United States of America image

Surely it's javascript or some other client-side thing; I don't see how server-side PHP could interact in any way with the client's clipboard.
SOLUTION
Avatar of snoyes_jw
snoyes_jw
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial