I have a jQuery code like:
$(".class::before").click(function(){
$(this).css("display","none");
});
This effects on that before element. But I want to access the host element. Please help!
I have a jQuery code like:
$(".class::before").click(function(){
$(this).css("display","none");
});
This effects on that before element. But I want to access the host element. Please help!