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.
rotator каза:Патцо той иска копирване .. не селектирване
Иначе ето .. но работи само под IE
http://www.dynamicdrive.com/dynamicindex11/copytext.htm
http://dynamicdrive.com каза:Clicking on "Select All "will highlight the form's contents, and in IE 4+, copy them to clipboard as well.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>nen</title>
<script>
function copyto(){
document.getElementById('copy').select();
};
</script>
</head>
<body>
<textarea style="width:400px; height:150px;" id="copy" readonly="readonly">Lorem ipsuim i simply dummy text used in typesetting industry!</textarea>
<input type="button" onfocus="document.getElementById('copy').select();" value="copy" />
</body>
</html>