Answer the question
In order to leave comments, you need to log in
:after pseudo selector in jQuery?
We need to fire a specific event on an element with the :after pseudo-selector.
But the debugger tells me that it's a syntax error.
('div:after').css({'background' : 'black'});
I thought maybe it doesn't recognize this selector at all, I googled it and didn't really find anything.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question