<form id="form1" runat="server">
   

How To Get The Selected Dropdownlist Text

Using Javascript


Sports : <asp:DropDownList ID="ddlist" runat="server" onchange="sportsname(this);/"> <asp:ListItem Text="-- Please select Sport --" Selected="False" /> <asp:ListItem Value="1" Text="Cricket" /> <asp:ListItem Value="2" Text="Football" /> <asp:ListItem Value="3" Text="Rugby" /> <asp:ListItem Value="4" Text="Tennis" /> </asp:DropDownList> <Label ID="lblSelectedText" runat="server"> </asp:Label>
</form>


Free Top Udemy Courses

Read Complete Article → sadfasfasfd asdfasdfsa asfasfd asdfasdf asdfasfdsa asdfasdf