$('#<%= gr.ClientID%>tr').click(function () {
$(this).addClass('highlightCell');
}, function () {
$(this).removeClass('highlightCell');
});
});
<asp:GridView ID="gr" runat="server" DataKeyNames="Name" AutoGenerateColumns="false">
this code work for mouseover but not for mouse click.
Please help me.
Thanks in advance