SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1880 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

forms[0].direction.selectedIndex == 1) {
direct_choice = ???RIGHT??™
} else {
if(document.forms[0].direction.selectedIndex == 2) {
BC 20
Creating and Using Objects
direct_choice = ???UP??™
} else {
if(document.forms[0].direction.selectedIndex == 3) {
direct_choice = ???DOWN??™
}
}
}
}
The process is slightly different when you have multiple options in a list box. In this situation, you should
set up a loop to examine the options[n].selected property. All the options in a