Sunday, September 23, 2007

copy to clipboard

<html>
<head>
</head>
<body>
<textarea id='clipText'>Enter Text And Click Button To Copy Text To ClipBoard</textarea><br />
<input type=button id='bt' onclick="clipboardData.setData('Text',document.getElementById('clipText').value);" value="Copy" />
<input type=button onclick="clipboardData.clearData('Text');" value="Clear" />
<input type=button onclick="alert(clipboardData.getData('Text'));" value="Paste" />
</body>

Program Demo


No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.