javascript parameter passing
===

I have a javascript function that takes a value. THe value is begin taken from a dropdownlist. I am unable to pass the value to the function and would like to know what I am doing wrong. Any help would be appreciated.

JS Function

    Puma.selectEvent = function(year, month, season) {
             
            var year2 = year;
            var month2 = month;
            var season2 = season;
            select the event
    }

Event on dropdownlist change. The sYear, sMonth, and sSeason are dropdownlist names. The "Puma" is not important.

 

    onChange=Puma.selectEvent(sYear.value,sMonth.value, sSeason.value);