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

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -