Click to copy text into clipboard.

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Philip Fong
 
 
Posts: 22
Joined: Thu Jul 31, 2014 2:16 pm

Click to copy text into clipboard.

Post by Philip Fong »

How to have a button to copy the link? The purpose is to paste in other application for both pc and android.
User avatar
Pablo
 
Posts: 21589
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Click to copy text into clipboard.

Post by Pablo »

Philip Fong
 
 
Posts: 22
Joined: Thu Jul 31, 2014 2:16 pm

Re: Click to copy text into clipboard.

Post by Philip Fong »

Thank you.
johnwayne
 
 
Posts: 36
Joined: Sat Jul 18, 2020 10:18 pm

Re: Click to copy text into clipboard.

Post by johnwayne »

that w3schools solution..
works on pc
works in firefox on android
does not work in chrome on android
works in safari on iphone
works in chrome on iphone
does anyone have any ideas?
I found the same situation on stackoverflow, but I do not have enough points to comment there.
Couldn't upload Avatar - curse you, James Cameron
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Click to copy text into clipboard.

Post by BaconFries »

The link and demo to w3school works for me in Chrome 98.0.4758.87 on Android 11. Not tested the script directly in the program as of yet but if it works as mentioned it will work in the program.
Perhaps you have disabled the use of javascript in the browser(chrome) hence why it is not working. Please note this is not a issue with the program and the script is used "asis".if you are using with other scripts then there may be a conflict of use between them.

Image

Image
Post Reply