Change cursor to hand on mouseover in GridView using jQuery

In this post, I will show you how to change the cursor to Hand style cursor when user takes mouse on the rows of ASP.NET GridView so that the user will come to know that it is clickable.

Also read my ASP.NET Grid View with jQuery series posts.

Below jQuery code will change the mouse cursor to pointer on hover event.

$(document).ready(function() {
  $("#<%=gdRows.ClientID%>  tr:has(td)").hover(function() {
     $(this).css("cursor", "pointer");
  });
});

Feel free to contact me for any help related to jQuery, I will gladly help you.