'clipboardData' Example : clipboardData : Javascript Objects : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Objects   » [  clipboardData  ]   
 



'clipboardData' Example

    
<html>
<body>
<button onclick="window.clipboardData.setData('text', 'This is sample text');">
Copy sample text to clipboard
</button>
<button onclick="alert(window.clipboardData.getData('text'));">
Display data copied to clipboard
</button>
</body>
</html>

    
      
      
Related examples in the same category
1.  'clipboardData' Syntax and Note
2.  'clipboardData' JavaScript Methods
3.  'clipboardData' is applied to
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.