Created 12/02/2005

Copy to Clipboard JavaScript

// Microsoft Internet Explorer only
// Manipulating the system clipboard in JavaScript
//   Read more at:
//   http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/clipboarddata.asp

// set the clipboard
// var x = 'Whatever you want on the clipboard';
// window.clipboardData.setData('Text',x);

// get the clipboard data
window.clipboardData.getData('Text');

// clear the clipboard
// window.clipboardData.clearData();
blog comments powered by Disqus