I have two DropDownList
<asp:DropDownList ID="ddl1" runat="server" Width="173px"
CssClass="ddl" >
</asp:DropDownList>
<asp:DropDownList ID="ddl2" runat="server" Width="173px"
CssClass="ddl" Enabled="False">
</asp:DropDownList>
I want when the first one will be ddl1.selectedindex = 3 to enable the second one ddl2
You can use the .change event to check the selected value.
demo: http://jsfiddle.net/m8dX3/
javascript:
and make sure you use the correct ClientID of the dropdownlists (
$('#<%=ddl1.ClientID%>')) or use a classname.