This is my code in aspx page
<head runat="server">
<title></title>
<script src="//Scripts/jquery-1.4.1.js" type="text/javascript"> </script>
<script type="text/javascript">
$(document).ready(function () {
$("#divGridView table tbody tr").mouseover(function () {
$(this).addClass("highlightRow");
}).mouseout(function () { $(this).removeClass('highlightRow'); })
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="divGridView">
<asp:GridView ID="gvOpenSII" runat="server">
</asp:GridView>
When I run this code i get error: "Jquery runtime error: object expected".
I want to highlight the particular row in gridview on mouse hover.
Please help..