JavaScript - Doble click en un combo

 
Vista:

Doble click en un combo

Publicado por Nhoa (2 intervenciones) el 05/05/2006 10:02:48
Se puede ejecutar una funcion al hacer doble click sobre un combo?

Tengo este objeto y necesito k al hacer doble click sobre el ejecute una determinado funcion y no hace nada

<asp:dropdownlist id="cboMes" runat="server" CssClass="ComboBox" AutoPostBack="True" ondblClick="MostrarMensaje();">
<asp:ListItem Value="1">Enero</asp:ListItem>
<asp:ListItem Value="2">Febrero</asp:ListItem>
<asp:ListItem Value="3">Marzo</asp:ListItem>
<asp:ListItem Value="4">Abril</asp:ListItem>
<asp:ListItem Value="5">Mayo</asp:ListItem>
<asp:ListItem Value="6">Junio</asp:ListItem>
<asp:ListItem Value="7">Julio</asp:ListItem>
<asp:ListItem Value="8">Agosto</asp:ListItem>
<asp:ListItem Value="9">Septiembre</asp:ListItem>
<asp:ListItem Value="10">Octubre</asp:ListItem>
<asp:ListItem Value="11">Noviembre</asp:ListItem>
<asp:ListItem Value="12">Diciembre</asp:ListItem>
</asp:dropdownlist>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder