I have the following JS code for ZeroClipBoard :
onComplete: function(item) { var text= $(item).html();//Not working when I hover the clip
The value won't be preserved in the function call, you need to use a $.proxy instead:
$.proxy
clip.addEventListener('mouseOver', $.proxy(function(client) { // "this" is now set to text clip.setText(this); }, text));