#5173 closed bug (notabug)
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
Change History (4)
comment:1 Changed 13 years ago by
comment:2 follow-up: 3 Changed 13 years ago by
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
comment:3 Changed 13 years ago by
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 scott.gonzalez:
This sounds like you're using an id multiple times. Please ask for helps on the forum http://forum.jquery.com
Note: See
TracTickets for help on using
tickets.
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 _matesko_: