How to prevent a click() event through a child div to a parent div in jQuery?

前端 未结 3 1700
谎友^
谎友^ 2021-01-01 09:06

Situation:

+ OPEN
3条回答
  •  失恋的感觉
    2021-01-01 09:44

    Why not hook open event with

    + OPEN
    instead of parent div. Otherwise return false or stopPropagation from inner div click handler

提交回复
热议问题