javascript - copying from "window.prompt" in chrome copies the message, not the text, with ctrl+c -



javascript - copying from "window.prompt" in chrome copies the message, not the text, with ctrl+c -

i have setup if nail button, selected text copied clipboard (for ie). selection of text works, since every browser ie doesn't allow copying clipboard, have workaround

window.prompt ("copy clipboard: ctrl+c, enter", text); //where text selected text beingness passed

this works firefox, in chrome, reason, when re-create text ctrl+c, "copy clipboard: ctrl+c, enter" copied, not in text.

any ideas this?

javascript google-chrome

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -