Is it posible to target the ::before with jquery?
This is what I'm doing with no luck:
$("nav").hover(function(){
$('nav ul li a.active::before').hide();
},function(){
$('nav ul li a.active::before').show();
});
It doesn't hide the ::before, any ideas why is not working?