jQuery .click() event for CSS pseudoelement (:before/:after)? -
i want trigger jquery animation when content inserting through css pseudoelements :before:
, :after
clicked. however, i'm not sure how this; first guess, $(#id:before).click()
didn't work. part of jquery's functionality? if so, how select before
/after
content?
jquery not support css :before
, :after
selectors. to select siblings, use .siblings()
, filter there.
Comments
Post a Comment