Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<script language="JavaScript">
function ClipBoard() {
holdtext.innerText = copytext.innerText;
Copied = holdtext.createTextRange();
Copied.execCommand("Copy");
}
</script>
<textarea id="copytext" onClick="ClipBoard();alert('Текста е копиран!');">bla bla text</textarea><br />
<textarea id="holdtext" style="display:none;"></textarea>
<textarea onmouseover="this.select()" onclick="this.select()">Посочи ме, натисни CTRL+C, радвай :D !</textarea>
miro91 каза:Вторя вариант под всички браузъри ли работи?