Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Select OnChange Visibility

Avatar of traport
traport asked on
JavaScriptHTML
3 Comments1 Solution284 ViewsLast Modified:
If I change this select box (projDivisionID) in any way, how can I display the  textarea and label  (projDivisionComment) and otherwise hide it?
<select name="projDivisionID" onKeyDown="typeAhead();" style="width: 125px;">
  <cfloop query="getDivisions">
    <option value="#unitDivisionID#"<cfif #projDivisionID# EQ  #unitDivisionID#>selected</cfif>>#divisionName#</option>
 </cfloop>
</select>

Comment:<br>
<textarea style="width: 470px;" name="projDivisionComment"><cfif projDivisionComment neq ''>#projDivisionComment#</cfif></textarea>
ASKER CERTIFIED SOLUTION
Avatar of alien109
alien109Flag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers