...

View Full Version : Copying and pasting using JavaScript



Cyber Naut
03-31-2003, 12:04 PM
Hi there,

I came across http://www.dynamicdrive.com/dynamicindex11/copytext.htm that has.....

document.execCommand("Copy")
copiedtext=window.clipboardData.getData("Text")

....within it.

After searching through the site aimlessly I decided to ask for information.

My question is how can I make this work with Image or anything else rather than confined to just text? or is there another way?

Cheers



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum