You are here: irt.org | FAQ | JavaScript | Form | 10.2 | Q248 [ previous next ]
<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>