当前位置: 动力学知识库 > 问答 > 编程问答 >

Copy to clipboard using javascript on the iPad

问题描述:

Is there a way to copy text to the clipboard in iPad using javascript (ie - not using the native selection menu)?

Adding info -

I don't mind if it requires a user action (ie - click) to trigger it. I know there are a lot of security concerns over this issue. This is just to verify there is no standard solution for this.

网友答案:

Possibly impossible which makes sense, imagine the security issues that could be involved. Heres a similar question.

Even a flash solution like ZeroClipboard can only copy to clipboard if triggered by a users click event. (Not saying it would run in iOS)

分享给朋友:
您可能感兴趣的文章:
随机阅读: