I have a DropDownList in a updatepanel and bind it in code behind.
<span id="dropdown" class='css-select-moz groupTitle' style="margin-right: 880px; padding-top: 0; margin-top: 0px; background: transparent">
<asp:DropDownList ID="SubCategoryDropDownList" AutoPostBack="true" OnSelectedIndexChanged="SubCategoryDropDownList_SelectedIndexChanged" runat="server" CssClass="css-select"></asp:DropDownList>
</span>
and style
.css-select {
-moz-appearance: window;
background-position: left bottom;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 2px;
border: none;
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: ellipsis;
background: transparent;
color: #FF8000;
}
I want open DropDown when mouse over, I use this script
$(document).ready(function(){
$("#SubCategoryDropDownList").hover(function(){
$(this).trigger('click');
});
})
But don't open items, How to open DropDownList when mouse over?