Disabled Input

Discussion in 'HTML & Website Design' started by Pudge1, Jan 20, 2014.

  1. #1
    On my site I have an input box that has a URL for users to copy and paste, for the input box I used the disabled attribute so that they can't accidentally delete the URL, etc. In all browsers it works just fine... except FireFox, in FireFox it won't allow me to copy and paste from the text box when it's disabled, how to I circumvent this problem?
     
    Pudge1, Jan 20, 2014 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Don't use an input, use an anchor... that way right click, "copy link address"... or ctrl-click / middle click so the user can just open it in a new window/tab... or regular click to follow it -- after all, isn't that what URL's are for?
     
    deathshadow, Jan 20, 2014 IP
  3. soundguy

    soundguy Active Member

    Messages:
    77
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    50
    #3
    instead of

    <input blabla disabled/>
    try use
    <input blablac disabled=disabled/>

    optionally you can use quotes if you'd like
     
    soundguy, Jan 20, 2014 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    Should have ZERO impact on what the OP even asked...
     
    deathshadow, Jan 20, 2014 IP
  5. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165