Timeline for How do you check for whether a checkbox is checked or not checked?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 14, 2011 at 16:56 | vote | accept | Phillip Senn | ||
May 13, 2011 at 8:25 | comment | added | bhu1st | @jamietre jQuery 1.6.1 now should support it blog.jquery.com/2011/05/12/jquery-1-6-1-released | |
May 12, 2011 at 18:29 | comment | added | Jamie Treworgy | @bhu1st - for a good time, try switching that to jQuery 1.6. | |
May 12, 2011 at 18:25 | answer | added | ehynds | timeline score: 1 | |
May 12, 2011 at 17:50 | comment | added | bhu1st | both are working - jsfiddle.net/pJgyu/10196 | |
May 12, 2011 at 17:47 | comment | added | Pointy |
Why not use the simpler and faster if (this.checked) { ... ?
|
|
May 12, 2011 at 17:25 | comment | added | Hogan | @Pixelbobby -- I originally put "Because". The UI complained, so I did a re-write. | |
May 12, 2011 at 17:25 | comment | added | sdleihssirhc |
Are you using the latest version of jQuery? Because then you'd have to use .prop instead of .attr
|
|
May 12, 2011 at 17:25 | answer | added | Jamie Treworgy | timeline score: 2 | |
May 12, 2011 at 17:25 | answer | added | Tejs | timeline score: 7 | |
May 12, 2011 at 17:25 | comment | added | scrappedcola | Which jquery version are you using? | |
May 12, 2011 at 17:23 | history | edited | pixelbobby |
edited tags
|
|
May 12, 2011 at 17:22 | comment | added | Hogan | Why is not a question. What about this seems strange 2k user? | |
May 12, 2011 at 17:22 | history | asked | Phillip Senn | CC BY-SA 3.0 |