FoxInCloud
Clipboard
Hi Thierry,
What is the best solution to copy text to the clipboard, from a click ?
https://stackoverflow.com/questions/22581345/click-button-copy-to-clipboard-using-jquery
Thanks in advance
Hi Vincent,
Never did this before so by best advice is to follow what you found on stackoverflow.
Thanks Thierry.
I have do this and I think it works.
Button.Click()
IF (Type('m.thisForm.wlHTMLgen') == 'L' AND m.thisForm.wlHTMLgen)
RETURN TEXTMERGE([(function($){$('#<<m.this.parent.infop.wcID>>').select();document.execCommand("copy")})(jQuery);])
ENDIF
But it is complicated to copy unselected text ...
I realize that this is what Rick does with his button located to the right of the code areas in the messages of this forum and I would like to know how he does it !