I am using an asp.net dropdownlist it contains 5 values the sample code is as follows
<asp:DropDownList ID="ddlSampledropdown" runat="server" Width="250px">
<asp:ListItem Value="0" title="--Select--">--Select--</asp:ListItem>
<asp:ListItem Value="1" title="Alpha">Alpha</asp:ListItem>
<asp:ListItem Value="2" title="Bravo">Bravo</asp:ListItem>
<asp:ListItem Value="3" title="Charlie">Charlie</asp:ListItem>
<asp:ListItem Value="4" title="Delta">Delta</asp:ListItem>
<asp:ListItem Value="5" title="Echo">Echo</asp:ListItem>
</asp:DropDownList>
I want to set the dropdownlist as disabled and set the selected text as alpha how can i do this with the help of a javascript in asp.net 2003
I made it as disabled but was unable to set the dropdownlist selected value