Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6669 closed bug (invalid)

stopPropagation does not work

Reported by: filipe.abreu Owned by:
Priority: Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: stopPropagation Cc:
Blocked by: Blocking:

Description

I have the following not working:

HTML <div id="contacts_box>

<div>

<input type="checkbox" id="contact_id_7" name="contact[id]" /> <label for="contact_id_7"></label>

</div>

</div>

JS (on DOM ready) $("#contacts_box > div input").live("click", function(event) {

event.stopPropagation();

})

Yet the event continues to bubble up the DOM tree.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

How do you know it continues to bubble up the tree? Please reopen and attach a complete test case.

Note: See TracTickets for help on using tickets.