HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... System.CopytoClipboard();
System.CopytoClipboard();
  View type:
Good Day All,
1. Purpose: student types in thoughts about question (variable {{#q1}} ) and after they are finished, click a button (System.CopytoClipboard();)....so that the variable contents ({{#q1}} from that text area is transferred to the system clipboard. Then, the student can paste their completed answer to the blog page.

GRRRRRRRRRR! It's not working. How can I display the text for that varible, put a button on the page, allow students to click it to transfer variable (q1) content to desktop so they can paste it into the blog page?

Thanks for your time and help.
 
I googled a bit: seems it doesn't work in all browser windows.
Apart from that, you might try to access the contents of the variable in javascript, not in CL actions.
Google for 'javascript variable site:courselab.com'.
[:)]
 
 
Good Day,
Thank you for your time and assistance. This transformation from FLASH apps to html and javascript just for the iPad is an incredible investment of developer's time. Argggggg....:-)
I'll keep searching for a solution for the elearning apps.
Thanks so much and have a great week.
Subject:
Message options
No additional options