简体   繁体   English

如何使用JavaScript或jquery激活clippy-jquery

[英]how to get clippy-jquery activate using javascript or jquery

Just using clippy-jquery and want to hide the main swf object but activate the functionality with another regular button. 仅使用clippy-jquery并想隐藏主swf对象,但要用另一个常规按钮激活功能。 It has a function to update the text to by sent to the clipboard so I'm guessing that there must be a function to simulate the "click" event? 它具有将发送到剪贴板的文本更新为的功能,因此我猜测必须有一个模拟“单击”事件的功能?

EDIT: For anyone who wants the answer to this. 编辑:对于任何想要这个答案的人。 Use zeroClipboard instead. 请改用zeroClipboard Works and is much easier to customise visually. 可行,并且在视觉上更容易自定义。

最后,我使用了另一个名为zeroClipboard的剪贴板库,该库可以正常使用并且可以自定义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM