showing results for - "on hover add class on children jquery"
Katelyn
22 Jan 2019
1$(document).ready(function()
2  {
3    $('li.active').hover(
4      function(){ 
5        $(this).children("a").addClass("icon-white"); //Add an active class to the anchor
6      },
7      function() {
8        $(this).children("a").removeClass("icon-white"); //Remove an active class to the anchor
9      }
10   )
11 });