I'm having trouble showing a listbox when hovering over a textbox. Here's the code:
<table id="Search">
<tr>
<td>
<asp:TextBox runat="server" ID="topics" CssClass="TT"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:ListBox ID="LstBox" CssClass="LB" runat="server" >
<asp:ListItem Text="Mahesh" Value="1"></asp:ListItem>
<asp:ListItem Text="Mahendra" Value="2"></asp:ListItem>
<asp:ListItem Text="Kirti" Value="3"></asp:ListItem>
</asp:ListBox>
</td>
</tr>
</table>
CSS
td .LB
{
display:none;
position:relative;
}
td TT:hover .LB
{
display:block;
position:absolute;
}
Any suggestions on how to make the listbox appear when hovering over the textbox?