mercredi 2 décembre 2015

Prevent checkbox inside a div from firing the divs function

I have a list with divs that on click expand the div below them. This is working perfectly fine. Now I want to add a checkbox to the clickable div but everytime the checkbox is clicked it fires the function of the div where it's placed, this makes the div expand at the same time the box is checked and viceversa. I want to check and uncheck the box without triggering the div behind it. Expandable divs




Aucun commentaire:

Enregistrer un commentaire