text field default disabled not resetting

Discussion in 'Javascript' started by Mahones, Dec 1, 2008.

  1. Mahones

    Mahones Guest

    Hi Everyone

    I have a radio button group in a form that is a sample A,B,C or
    'Other" options. Below "Other" is a text field that is disabled by
    default and only becomes enabled when you click the "Other" radio
    button. Click any of the A, B, or C radio buttons disabled the text
    area again. By default, Option A is selected. My problem is this, if
    I click on "Other" when testing the form, it enables the text area,
    which is fine, but if I then hit the reset button on the form, option
    A is selected again, but the text area does not go back to being
    disabled. Can anyone suggest why this might be happening?

    Thanks for the help
     
    Mahones, Dec 1, 2008
    #1
    1. Advertising

  2. Mahones

    rf Guest

    "Mahones" <> wrote in message
    news:...
    > Hi Everyone
    >
    > I have a radio button group in a form that is a sample A,B,C or
    > 'Other" options. Below "Other" is a text field that is disabled by
    > default and only becomes enabled when you click the "Other" radio
    > button. Click any of the A, B, or C radio buttons disabled the text
    > area again. By default, Option A is selected. My problem is this, if
    > I click on "Other" when testing the form, it enables the text area,
    > which is fine, but if I then hit the reset button on the form, option
    > A is selected again, but the text area does not go back to being
    > disabled. Can anyone suggest why this might be happening?


    You have an error on line 42.
     
    rf, Dec 1, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sergio Juan

    Resetting a FileUpload field?

    Sergio Juan, Jul 10, 2003, in forum: Javascript
    Replies:
    0
    Views:
    80
    Sergio Juan
    Jul 10, 2003
  2. David D.
    Replies:
    2
    Views:
    131
  3. Sound
    Replies:
    2
    Views:
    465
    Randy Webb
    Sep 28, 2006
  4. John Nagle
    Replies:
    3
    Views:
    103
    Thomas 'PointedEars' Lahn
    Feb 25, 2008
  5. jr
    Replies:
    3
    Views:
    450
Loading...

Share This Page