javascript parameter passing
<p>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.</p>

<p>JS Function</p>

<pre><code>Puma.selectEvent = function(year) {

        var year = year;
        select the event
}
</code></pre>

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

<pre><code>onChange=Puma.selectEvent(sYear.value);
</code></pre>
