Hi Guys below is the code for coping text to clipboard.
But i want that Both Text as well as Images should also get copied . So that i can paste them in word, officeorg, etc.
</script>
function copyToClipboard()
{
var div = document.getElementById('Popup');
var div = document.getElementById('Popup');
div.contentEditable = 'true';
var controlRange;
if(document.body.createControlRange)
{
controlRange = document.body.createControlRange();
controlRange.addElement(div);
controlRange.execCommand('Copy');
}
div.contentEditable = 'false';
}
</
script>
Any Idea/links/Suggestions . Pls Help .Its Urgent
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).