#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    8
    Rep Power
    0

    Help With Disabling Textfields


    Hi all,
    Iam trying to make a Input text box disabled when the user
    clicks on a button using javascript
    .
    form.fieldname.disabled=true;

    Once the field is disabled I cannot access the value from that field.
    but still my application needs to access the value from that text box to pass it back to a servlet.

    Can someone suggest a way to do that.

    Thanks
  2. #2
  3. No Profile Picture
    Clueless llama
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Feb 2001
    Location
    Lincoln, NE. USA
    Posts
    2,353
    Rep Power
    117
    You want the javascript/html forum down the hall.
  4. #3
  5. dont click here
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    409
    Rep Power
    13
    Originally posted by Nemi
    You want the javascript/html forum down the hall.
    hehe

    what are you tryin to do their might be a better solution

IMN logo majestic logo threadwatch logo seochat tools logo