Simple? Copy and Paste Button Help

Discussion in 'HTML & Website Design' started by finqoo, Mar 15, 2009.

  1. #1
    I have spent the last hour trawling Google trying to find out how I create a Copy button. So far I haven'y managed to find anything that works or that I understand..

    Basically what I am doing is having code in a textarea that I need the user to be able to save. I cannot use right click as it's been blocked on my theme.

    The alternative is to create a button that the user presses and in doing so it copies the code which he can then paste into his site.

    Thanks.

    EDIT** It must work with IE and FIREFOX
     
    finqoo, Mar 15, 2009 IP
  2. darrenbeige

    darrenbeige Peon

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google it. W3C have a load of tutorials on it.
     
    darrenbeige, Mar 15, 2009 IP
  3. finqoo

    finqoo Well-Known Member

    Messages:
    319
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    I already did. Didn't find anything though
     
    finqoo, Mar 15, 2009 IP
  4. finqoo

    finqoo Well-Known Member

    Messages:
    319
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #4
    Maybe im not searching for the right thing?
     
    finqoo, Mar 15, 2009 IP
  5. nicolasthun

    nicolasthun Guest

    Messages:
    309
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    search for copy button with javascript or ajax.
     
    nicolasthun, Mar 15, 2009 IP