How can select ::before with jQuery

How can select ::before with jQuery
0.0 0

#1

How can select ::before element as is not part of DOM?

Any tricks know someone? Update with .css

Thanks.


#2

::before is a pseudo-selector, not a dom element. So you can’t select it.

I haven’t tried these methods, but they seem to be the most upvoted workarounds