﻿(function($) {
    $.fn.ZeroClippy = function(ele,txt,callback){return $(this).each(
        function(){var clip = new ZeroClipboard.Client();clip.glue($(this)[0]);clip.setText(txt);
            if(typeof callback == 'function'){clip.addEventListener('complete',callback);}
        }
    )};
})(jQuery);