Jquery simply implements the GridView line highlighting method

  • 2020-06-15 07:40:02
  • OfStack

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.


Related articles: