Forum Moderators: open
For example:
A webpage that looks like this:
===========
Copy the link below to your emails:
http ://www.example.com/user=abc
===========
I want to be able to use some sort of a feature that would highlight that link above and copy - this feature is for a very novice user.
Thanks,
[edited by: BlobFisk at 2:32 pm (utc) on Sep. 14, 2004]
[edit reason] Examplified URL [/edit]
What I want to do is, find a way of highlighting a sample text like the link and 'paste it to clipboard' by let say pressing a 'copy' button.
I need this feature to help out my fellow colleagues who very new to internet and such.
They are not familiar with Control-C, or using Right-click the mouse button and such.
Thanks again for your inputs...
<script language="javascript">
function cpy(value){
bResult = window.clipboardData.setData("Text",value);
}
</script><a href="http://www.example.com/user=abc" onClick="cpy(this.href);return false;">Click here to copy link</a>
I agree with with everyone that copying isn't rocket science and if your users can paste why can't they copy?
[edited by: freethink at 5:02 pm (utc) on Sep. 14, 2004]