# How to copy text to clipboard

**URL:** <https://community.thunkable.com/t/how-to-copy-text-to-clipboard/198615>\
**Category:** Questions about Thunkable X\
**Created:** [August 27, 2019, 4:28am UTC](https://community.thunkable.com/t/how-to-copy-text-to-clipboard/198615 "2019-08-27T04:28:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 20, 2020, 10:27pm UTC](https://community.thunkable.com/t/how-to-copy-text-to-clipboard/198615/6 "2020-12-20T22:27:00Z")

</div>

Here is access to the clipboard 😉

> [@How can I add a Copy Button?](http://community.thunkable.com/t/how-can-i-add-a-copy-button/1040333/10):
>
> I’m wondering if a JavaScript solution would work with the webviewer. \<html\> \<head\> \<meta name="viewport" content="width=device-width, initial-scale=1"\> \<script src="https://thunkable.github.io/webviewer-extension/thunkableWebviewerExtension.js" type="text/javascript"\>\</script\> \</head\> \<body\> \<script type="text/javascript"\> function copyToClipboard(value) { var tempInput = document.createElement("textarea"); tempInput.value = value; document.body.appendChild(tempInput);…

---

_[View the full topic](https://community.thunkable.com/t/how-to-copy-text-to-clipboard/198615)._
