Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: clipboard help

  1. #1
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    clipboard help

    ok i'd like to make a link that when u click it it copies watever text i want to the clipboard and I want to be able to have multiple links with multiple text items to be copied. also i'd like the link to be able to display something else than it is copying like an url. If anyone could help me out i'd greatly appreciate it

  • #2
    New Coder
    Join Date
    Jan 2006
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <a href=Http://www.somesite.com onclick='javascript:clipboardData.getData("Text")'>Link</a>

    I think this should work

  • #3
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    nope didnt work, at least not for me

    also a button would be fine as long as it copies the text that i want and can display something else

  • #4
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    does any1 know how to do that?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •