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: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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/
Note: See
TracTickets for help on using
tickets.
You are observing standard browser behavior for invoking click events on form controls with labels: http://jsfiddle.net/gNTMC/1/