ali raza

ali raza

  • NA
  • 80
  • 0

Issure in calling jquery method on the mouse over of dropdownlist item

Nov 24 2011 5:12 AM
Hi all, I am using jquery, I am stuck with calling jquery method  on the mouse over of dropdownlist item. Following is my code:


<

<

<

<script type="text/javascript" src="scripts/jquery-1.5.min.js"></script>

<

<html><head><title></title>


<script type="text/javascript">




var 

dom = $(document);

dom.ready

$(

function

{

//alert("mouse hover")

}

)

);
</script>


()
"select > option").mouseover(
(
<form id="form1" runat="server">


<asp:DropDownList ID="ddl" runat="server">


<asp:ListItem Text="1" Value="1" />


<asp:ListItem Text="2" Value="2" />


<asp:ListItem Text="3" Value="3" />


<asp:ListItem Text="4" Value="4" />


</asp:DropDownList>
</form></ body></html>



Any help in this regards would be heighly appreciated.



script type="text/javascript" src="scripts/jquery-1.6.min.js"></script>
<script type="text/javascript" src="Scripts/jquery-ui-1.8.custom.min.js"></script>
script type="text/javascript" src="Scripts/jquery-1.4.2.min.js"></script>
script type="text/javascript" src="scripts/jquery-1.2.3.min.js"></script>
script type="text/javascript" src="scripts/Default.js"></script>

Answers (3)