I spent a good 20 min searching online for this, but couldn't find it. What I want is to to be able to copy a text string on click without a button. The text string will be inside a "span" class.
- User hovers over text string
- User clicks text string
- Text string is copied to clipboard
Any help would be greatly appreciated. Thanks!