/ Published in: JavaScript
Functions to use the clipboard.
Requires a Flash file for non-IE browsers: see [http://javascript.internet.com/forms/clipboard-copy.html](http://javascript.internet.com/forms/clipboard-copy.html)
Remember to set `config.Clipboard.pathToFlash` accordingly.
`Clipboard.copy(strToCopy)` puts strToCopy onto the clipboard
`Clipboard.copySelection()` puts the text that the user has selected onto the clipboard
`Clipboard.paste()` returns the text from the clipboard (only works in IE)
`Clipboard.clear()` clears the clipboard (or sets it to a period if it can't set an empty string)
Requires a Flash file for non-IE browsers: see [http://javascript.internet.com/forms/clipboard-copy.html](http://javascript.internet.com/forms/clipboard-copy.html)
Remember to set `config.Clipboard.pathToFlash` accordingly.
`Clipboard.copy(strToCopy)` puts strToCopy onto the clipboard
`Clipboard.copySelection()` puts the text that the user has selected onto the clipboard
`Clipboard.paste()` returns the text from the clipboard (only works in IE)
`Clipboard.clear()` clears the clipboard (or sets it to a period if it can't set an empty string)