Search and Top Navigation
#5173 closed bug (notabug)
Opened February 12, 2010 08:28AM UTC
Closed February 12, 2010 03:39PM UTC
Last modified October 11, 2012 09:15PM UTC
click method executes twice on click
Reported by: | _matesko_ | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.button | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Click event listener executes twice on button click.
Example:
$("#button").click(function() {
alert('clicked');
});
will produce two alerts
Attachments (0)
Change History (4)
Changed February 12, 2010 09:53AM UTC by comment:1
Changed February 12, 2010 03:39PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
This sounds like you're using an id multiple times. Please ask for helps on the forum http://forum.jquery.com
Changed February 12, 2010 06:18PM UTC by comment:3
correct!
what fooled me was that I was using demo files to test, and there is div with same id as radio button.
thanks
Replying to [comment:2 scott.gonzalez]:
This sounds like you're using an id multiple times. Please ask for helps on the forum http://forum.jquery.com
Changed October 11, 2012 09:15PM UTC by comment:4
milestone: | TBD |
---|
Milestone TBD deleted
normal button fires once, that is OK
checkbox fires twice
radio group fires as many times as there are radios in that group
Replying to [ticket:5173 _matesko_]: