On Tue, 15 Jul 2003 19:18:17 -0500, "Dwayne Epps"
<dwayneeppscenturytel.net> wrote:
>What is the syntax to use for a drop down menu in Javascript that uses an
>argument in a function so you can call the function for different menus
>within a form? Example:
>
>function makeSelection(field) {
>if ("syntax for list/menu" == 0 ) {
>remainder of code
function makeSelection(o){
p = o.options[o.selectedIndex].value;
// whatever
}

Call it with:

<select name="select" onChange="makeSelection(this)">


Gary