|
Q248 How can I maintain two drop down menus so that a change to one is reflected on the other?
irt.org | Knowledge Base | JavaScript | Form 10.2 | Q248 [ previous next ]
Q248 How can I maintain two drop down menus so that a change to one is reflected on the other?
<FORM NAME="formName1">
<SELECT NAME="selectName1"
onChange="document.formName2.selectName2.selectedIndex = document.formName1.selectName1.selectedIndex">
<OPTION>first
<OPTION>second
<OPTION>third
<OPTION>fourth
</SELECT>
</FORM>
<FORM NAME="formName2">
<SELECT NAME="selectName2"
onChange="document.formName1.selectName1.selectedIndex = document.formName2.selectName2.selectedIndex">
<OPTION>one
<OPTION>two
<OPTION>three
<OPTION>four
</SELECT>
</FORM>
|
Feedback on 'Q248 How can I maintain two drop down menus so that a change to one is reflected on the other?'
|
|
Copyright © 1996-2008 irt.org, All Rights Reserved.