enabling a dropdownlist on the selected value of another dropdownlist using Javascript
<p>I have two ASP.NET dropdownlists on my web page.The second one is disabled by default. Can anyone of you guide me to a javascript code which will enable the second dropdownlist when the selected index in the first one is "4", a clientside trigger ofcourse but i cant seem to figure it out.</p>

<p>I have tried the following:</p>

<p><code>
    function ddlstClick() {
        if (document.getElementById("&lt;%=ddlst_ParameterType.ClientID %>").selectedindex = "4") {
            ddlst_pulldownParameters.Enabled = true;
        }
</code></p>
