How would I implement 'copy url to clipboard' from a link or button using javascript or dojo without flash -
i got stucked in implementing feature on web application. other possibilities using flash content. explain how can achieve using plain javascript or dojo.
i have been working on exact same issue while. me flash isn't viable solution came simple work around:
<button onclick="prompt('press ctrl + c, enter copy clipboard','copy me')">click copy</button>
it requires work on users end @ least doesn't require flash or external libraries.
Comments
Post a Comment