Is it safe to use :after-selector with jquery= -


this question has answer here:

i want trigger function when clicking :after

for example

.foo:after{     content: "read more"; }   $('foo:after').click(myfunction); 

will cause fuzz?

you cannot detect or trigger events on pseudo-elements not part of document object model.

also see only detect click event on pseudo-element


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -