Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#828 closed bug (invalid)

Can't cancel default action and/or stop propagation in .toggle()

Reported by: [email protected] Owned by:
Priority: major Milestone: 1.1
Component: event Version: 1.1
Keywords: Cc:
Blocked by: Blocking:


$("#someelem").toggle(function() {

dosomethinga(); return false;

}, function() {

dosomethingb(); return false();


In 1.0.4, the .toggle() method automatically canceled the default action and bubbling. In 1.1 (GA), it seems that you have to do it manually (which is the correct way to go), but when I add the obligatory "return false" to the functions, it doesn't seem to do anything.


Change History (2)

comment:1 Changed 16 years ago by anonymous

You can close this... this bug was caused in my app by the $(a,c) problem (#804)

comment:2 Changed 16 years ago by john

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.