'clipboardData' Example : clipboardData : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » 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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» clipboardData