Jquery simply implements the GridView line highlighting method


This article illustrates how Jquery simply implements GridView line highlighting. Share to everybody for everybody reference. Specific implementation methods are as follows:

$("#gridID tr:not(tr:last-child)").filter(function () {
  return $('td', this).length && !('table', this).length
}).hover(function () {
  $(this).toggleClass('hover_css');
});

Hopefully, this article has been helpful in your jQuery programming.