我遇到了firefox下拉列表的问题。当我将鼠标悬停在下拉项目上或将光标移动到项目上时,下拉列表的selectedindex事件会在firefox中触发,我在IE中没有遇到此问题,Chrome。
.aspx:
Collapse | Copy Code
<asp:DropDownList ID="ddlTempGroups" runat="server" onselectedindexchanged="ddlTempGroups_SelectedIndexChanged">
<asp:ListItem Text="-" Value="-" >
<asp:ListItem Text="type" Value="type" >
<asp:ListItem Text="date" Value="date" >
</asp:DropdownList>
.cs
protected void ddlTempGroups_SelectedIndexChanged(object sender, EventArgs e)
{ }