#828 closed bug (invalid)
Can't cancel default action and/or stop propagation in .toggle()
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | 1.1 |
Component: | event | Version: | 1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("#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.
Rich
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You can close this... this bug was caused in my app by the $(a,c) problem (#804)