onclick activate script - TEXTAREA

Discussion in 'Programming' started by haxyou, Jul 11, 2008.

  1. #1
    hey im looking for some type of script that i can you for my layout site simular to pooraffilate where the user has to click a offer link first before the text area becomes active to copy the code

    anyone?
     
    haxyou, Jul 11, 2008 IP
  2. revvi

    revvi Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi have you ever tried qcodo framework? I can do that pretty easily using full Ajax method. If you are interested you can pm me.
     
    revvi, Jul 11, 2008 IP
  3. xlcho

    xlcho Guest

    Messages:
    532
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <textarea id='foo' disabled>textarea</textarea>
    <a href='offer.url' target='blank' onclick="document.getElementById('foo').disabled =''">offer link</a>
    Code (markup):
    Something like that?
     
    xlcho, Jul 11, 2008 IP
  4. haxyou

    haxyou Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4

    thanks left rep :)
     
    haxyou, Jul 11, 2008 IP