[Solved] Selected item, doesn`t work [closed]


After read this comment : Hover is ok, but i want to remain activ that hover after I click on it

Take the hover class a make a new one :

CSS

.active { /*css of the hover */ }

Jquery

$('.btn').on('click', function() {
   $(this).addClass('active');
   //if you want to toggle it use toggleClass('active') instead of addClass.
});

2

solved Selected item, doesn`t work [closed]