C
C
Cyril2018-03-01 17:29:18
css
Cyril, 2018-03-01 17:29:18

How to fire only on a child element?

Subject, how to make that, when clicking on the same classes, the function would work only for the first child and that's it, and not for the entire branch https://jsfiddle.net/m0z59dxa/6/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2018-03-01
@cyril_b

https://jsfiddle.net/m0z59dxa/21/
https://jsfiddle.net/m0z59dxa/25/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question