Copy to Clipboard

This is an example function for how to copy text to the clipboard. This should work in modern web browsers. It includes a backup window prompt if browser does not support functionality, which will allow the user to easily copy (Ctrl+C) text from the prompt.

View Erik Gassler's LinkedIn profile I am a codementor