JSREF
oncopy Event
Execute a JavaScript when copying some text of an <input> element: