Advertisement

04.06.2008 at 11:45PM PDT, ID: 23300556
[x]
Attachment Details

dropdown menu onclick show div hide div

Asked by webdott in Scripting Languages, JavaScript, Hypertext Markup Language (HTML)

Tags: javascript

hello, i am back.

this is what i am trying to do:
1. create a dropdown selection box in a form
    example:
    <FORM>
   <P>
 <SELECT NAME="sample dropdown" SIZE="1"><OPTION>choice 1<OPTION>choice 2</SELECT></P>
   </FORM>
2. onclicking choice 1, a div will show [ example: id="choice 1" ]
3. onclickng choice 2,  choice 1 div will hide and the choice 2 div will show

I know how to create this onclick with images and links. I can not figure out how
to create a form dropdown to do this. I am sure it is simple, but I am lost as usual.

I need the entire html code so that I can completely understand this.
Please help, need asap.

Thanks
MikeStart Free Trial
[+][-]04.07.2008 at 12:10AM PDT, ID: 21294810

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 06:24AM PDT, ID: 21296594

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 08:08AM PDT, ID: 21297628

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Scripting Languages, JavaScript, Hypertext Markup Language (HTML)
Tags: javascript
Sign Up Now!
Solution Provided By: gops1
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.07.2008 at 08:34AM PDT, ID: 21297901

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 12:56PM PDT, ID: 21300024

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 12:57PM PDT, ID: 21300035

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 10:52PM PDT, ID: 21302872

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 11:17PM PDT, ID: 21302930

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.08.2008 at 11:12AM PDT, ID: 21307940

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628