Bug Tracker

Changes between Initial Version and Version 4 of Ticket #10005


Ignore:
Timestamp:
Aug 9, 2011, 8:10:08 AM (9 years ago)
Author:
Rick Waldron
Comment:

You're missing the point - click is the wrong event to use with checkboxes. It's like reporting that mousedown doesn't work when you hit the spacebar on your keyboard

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10005

    • Property Status changed from new to closed
    • Property Component changed from unfiled to event
    • Property Priority changed from undecided to low
    • Property Milestone changed from None to 1.6.3
    • Property Resolution changed from to worksforme
  • Ticket #10005 – Description

    initial v4  
    11If using .click() on a checkbox element, the returned value from .is('checked') from inside the elements .click() function will return the opposite of the actual state. If you click the checkbox, the .is('checked') will return the correct state.
    22
    3 [http://jsfiddle.net/k4emic/6xufL/1/ Example fiddle]
     3[ Example fiddle]
    44
    5 This issue has been around for a while, [http://www.bennadel.com/blog/1525-jQuery-s-Event-Triggering-Order-Of-Default-Behavior-And-triggerHandler-.htm this blog entry] is from 2009.
     5This issue has been around for a while, [ this blog entry] is from 2009.
    66
    77Callbacks attached to .change() works consistently.