and
07-11-2008, 03:56 AM
Hello,
I want to insert " " to the . which have the text i am interested in.
copyToClipboard is a javascript.
<input type="button" VALUE="Copy to clipboard" onClick="copyToClipboard({.})"></input>
What I get with this code is for example
Text to be copied
but this isn't a string so it don't get copied to the clipboard
What i want is something like this:
<input type="button" VALUE="Copy to clipboard" onClick="copyToClipboard({"."})"></input>
So i get
"Text to be copied"
I want to insert " " to the . which have the text i am interested in.
copyToClipboard is a javascript.
<input type="button" VALUE="Copy to clipboard" onClick="copyToClipboard({.})"></input>
What I get with this code is for example
Text to be copied
but this isn't a string so it don't get copied to the clipboard
What i want is something like this:
<input type="button" VALUE="Copy to clipboard" onClick="copyToClipboard({"."})"></input>
So i get
"Text to be copied"