Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation How to enable or disable textboxes??

    Heeelp!!

    My problem is that when I have a list/menu, select, box I have to choose one of the selections, and enable a textbox and disable a second list/menu, select, box; and when I choose another selection from the first list/menu, I have to disable the textbox and enable the second list/menu.

    I hope somebody can help me!!

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    document.theForm.theField.disabled = true; //disabled
    document.theForm.theField.disabled = false; //enabled
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •