Results 1 to 2 of 2

Thread: Enable textbox

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Enable textbox

    I have an asp page which allows users of the system to enter in new contacts.

    If the user chooses option A from a drop down I want to enable a textbox and a dropdown else I want to disable them.

    Can anyone point me in the right direction. My understanding of client side script isn't as good as my server side but I dont want to do the round trip.

    Thanks in Advance

    Parksie

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    Try using the visable property, you'll need to either use Style Sheets or the Style tag. Then use the event from the drop down to run some javascript that will change this visable property.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions

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



Click Here to Expand Forum to Full Width