Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <script type="text/javascript">
  2. function getClicpboardData(Event){
  3.  
  4. alert(window.clipboardData.getData('Text')); //if IE
  5.  
  6. // alert(Event.clipboardData.getData('text/plain'));
  7.  
  8.  
  9. }
  10. </script>
  11. <input type="submit" value="pasteClipboardData" onclick="getClicpboardData(event)">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement