@Kathy_Darling You would attach the event listener to a parent element and listen for the target that matches the selector instead. If the target of the event matches your selector, then do whatever action you need to do.
@Kathy_Darling You would attach the event listener to a parent element and listen for the target that matches the selector instead. If the target of the event matches your selector, then do whatever action you need to do.
@kingkool68
WordPress developer at @CoderPad. Formerly of @nclud @spiritedmediaco, @pewresearch, @usnews. I made dummyimage.com and married @naudebynature.