I want to know is there a way to remove the pseudo ::after. I cant show in code but I have image to explain.
When selecting a checkbox from ::before
a ::after
will be added now What I want is when selecting another checkbox the other checkbox will lose ::after
and will be back to ::before
What I tried is
$('.ckbox label').not(this).removeAttr('::after');
But it is not removing the ::after
I can say that it is not removing because the style is still there