Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Copy to Clipboard in safari using jquery or javascript

I need to copy a text to clipboard on clicking a button using either javascript or jquery.

I found many options for doing this in other browsers..IE, Chrome, Firefox. But couldn't achieve in Safari Version 9.0.

I tried document.execCommand('select') and document.execCommand('copy'). But the latter returned false. So copy didn't work.

iMac, OS X El Capitan (10.11)

Posted on Feb 25, 2016 11:02 PM

Reply
5 replies

Copy to Clipboard in safari using jquery or javascript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.