faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 15 people (27%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

I have 2 Combo Boxes. Support its name is "A" and "B".

May 15th, 2003 12:13
Kremena Hagen, Jean-Bernard Valentaten,


Conratulations, how old are they *g* ... just kidding.
Where is your question??
I'd really like to help you, but without any question ... I can't.
Jean
Here is the complete question.  Sorry about that.
I have 2 Combo Boxes. Suppose its name is "A" and "B".
<SELECT NAME="A" 
<option>1 
<option>2
</select>
<SELECT NAME="B" 
<option>1.1 
<option>1.2
<option>2.1 
<option>2.2
</select>
If I click 1 on "A". How can I write javaScript 
to display only 1.1 and 1.2 on combo box "B" or blur options 2.1 and 
2.2.
Appreciate for any idea.