# How to use the clipboard function in thunkable?

**URL:** <https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750>\
**Category:** Questions about Thunkable X\
**Tags:** clipboard\
**Created:** [July 27, 2021, 2:02am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750 "2021-07-27T02:02:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [July 27, 2021, 6:53am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/2 "2021-07-27T06:53:10Z")

</div>

Try this:

> [@How can I add a Copy Button?](https://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-use-the-clipboard-function-in-thunkable/1415750)._
