#10166 closed bug (duplicate)
click() on a checkbox still doesn't appear checked(or unchecked) before the handlers call
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
in windows 7 using FF 5.0 & IE 8.0 a $(checkbox).click() still calls all the handlers before changing status. this doesn't correctly simulate the 'mouse click' call sequence. can you confirm? if wrong, I apologize. Many thanks.
Change History (6)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Owner: | set to anonymous |
Priority: | undecided → low |
Status: | new → pending |
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
comment:4 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:5 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
ie: var checkbox = ...; $(checkbox).click (function () {alert((checkbox.checked)?"true":"false");}); $(checkbox).click(); if i'm right this should alert "false" with the checkbox still unchecked, then check it.