My zeroclipboard.js is working nicely and easily copy the text to clipboard without ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
But if I add the script to my website, it no longer works
Here is my demo coding:
That's irrelevant. The problem here is not jQuery, but rather the fact that you forget to upload the ZeroClipboard.swf
file to the server.
Either that, or you uploaded it to an unconventional path and you forget to set the moviePath
on the ZeroClipboard object accordingly.