helps hiding/showing text box

Results 1 to 2 of 2

Thread: helps hiding/showing text box

  1. #1
    Join Date
    Dec 1969

    Default helps hiding/showing text box

    Was wondering if someone could help me...<BR><BR>I have produced a questionnaire looping through question i have in my DB, all the questions have a radio button scale next to them...<BR>the final 3 questions have a question, radio buttons and then a text box to add more comments. What I want to do is if someone chooses the radio button &#039;no interest&#039; then grey out the text box and they wouldnt need to fill this in...<BR><BR>or alternativly if the press a radio button other than the &#039;no interest&#039; one it then shows the text box...<BR><BR>has anyone done this? thanks so much.<BR>Jess

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default IN the onclick event

    set based on if it is checked or not set<BR><BR> = &#039;none&#039; or = &#039;&#039;<BR><BR><BR>if the textbox is in a td you can use the td id instead...not cross browser though<BR><BR><BR><BR>

Posting Permissions

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