Bug Tracker

Ticket #828 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: rich.manalang@… Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.1 Component: event
Version: 1.1 Keywords:
Cc: Needs:

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

Attachments

Change History

Changed 2 years ago by anonymous

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

Changed 2 years ago by john

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.