In my web application there is a dropdown list that will show confirm box while changing the listitem . I have added title for each listitem
eg :
<asp:DropDownList ID="myddl" runat="server" AppendDataBoundItems="true" onchange="Confirm()" AutoPostBack="true"
OnSelectedIndexChanged="myddl_SelectedIndexChanged" >
<asp:ListItem Value="0">--select--</asp:ListItem>
<asp:ListItem title="ABC" Value="1" >AAA</asp:ListItem>
<asp:ListItem title="EFG" Value="2" >BBB</asp:ListItem>
</asp:DropDownList>
How can I show the title of these selected item on confirm box?
thanks inadvance
Fareeda