Skip to main content

Bug Tracker

Side navigation

#5951 closed bug (duplicate)

Opened January 26, 2010 11:56PM UTC

Closed November 20, 2010 03:14PM UTC

Last modified November 20, 2010 03:14PM UTC

click() fires click function beforeclick event in 1.4.1 if firefox 3.5.7

Reported by: ron_hook Owned by: brandon
Priority: major Milestone:
Component: event Version: 1.4.1
Keywords: click, firefox, onclick Cc:
Blocked by: Blocking:

The following code...






<span onclick="$(this).prev().click();">Search</span>

search_form_select = function(tgt){


return true;


return false;



would return true when clicking on the span in 1.4 and earlier.

In 1.4.1 it returns false.

While clicking on the checkbox will return true in both versions.

In 1.4.1 it seems to be running the click function before the click event.

Attachments (0)
Change History (3)

Changed February 11, 2010 01:54AM UTC by ron_hook comment:1

Changed November 20, 2010 03:14PM UTC by dmethvin comment:2

milestone: 1.4.1
resolution: → duplicate
status: newclosed

Sorry but it's not a good idea to mix native and jQuery events, see the duplicate ticket for more information.

Changed November 20, 2010 03:14PM UTC by dmethvin comment:3

Duplicate of #3827.