Bug Tracker

Opened 10 years ago

Closed 10 years ago

#14069 closed bug (notabug)

Label containing a radio / checkbox seems to fire click event twice

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version:
Keywords: Cc:
Blocked by: Blocking:


When clicking the label text the click event is fired twice and when clicking the input field it fire as I expected.

See the simple example below. http://jsfiddle.net/gNTMC/

Change History (1)

comment:1 Changed 10 years ago by gibson042

Resolution: notabug
Status: newclosed

You are observing standard browser behavior for invoking click events on form controls with labels: http://jsfiddle.net/gNTMC/1/

Note: See TracTickets for help on using tickets.