“Copy To Clipboard” Plugin For jQuery – zClip

zClip is a jQuery plugin for creating a "copy to clipboard" functionality with the help of an invisible Flash Movie.

It is built using the popular Zero Clipboard library + totally compatible with Flash 10 and below.

zClip jQuery Plugin

The library is lightweight (~7kb) and has support for CSS ":hover" + ":active" states.

zClip works by transparently overlaying the Flash movie over an element yet it keeps this targeted element's "click" "mouseenter" and "mouseleave" events.

Also, 2 callback functions: "before copy" and "after copy" allow you handle the requests better.