Using execCommand (Javascript) to copy hidden text to clipboard

I'm trying to copy to clipboard without using Flash, I plan to fall back onto Flash with the use of ZeroClipboard if the browser is incompatible with the javascript approach. I have an onClick list...