Question

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:

Without the script

With the script

Était-ce utile?

La solution

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.

enter image description here

Either that, or you uploaded it to an unconventional path and you forget to set the moviePath on the ZeroClipboard object accordingly.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top