Skip to main content
10 events
when toggle format what by license comment
Mar 5, 2019 at 14:55 review Suggested edits
Mar 5, 2019 at 16:23
S Oct 11, 2018 at 10:20 history suggested Peter T. CC BY-SA 4.0
this.value will also return the same value when checked, see @xeo's comment
Oct 11, 2018 at 8:56 comment added Peter T. The jQuery docs say that using [type="checkbox"] is faster compared to :checkbox, see api.jquery.com/checkbox-selector
Oct 11, 2018 at 8:47 review Suggested edits
S Oct 11, 2018 at 10:20
Jan 23, 2018 at 12:39 comment added Paul This worked better for me than the accepted answer, but 'this.checked' gave me the checkbox state instead of using 'this.value'. I also modified the jquery selector to ":checkbox" because I needed all of the checkboxes.
Apr 14, 2017 at 22:25 comment added StealthTrails only works when you use serializeArray() not just serialize()
Mar 7, 2014 at 0:01 comment added Justin i love you. i have been struggling to find a solution to my problem and this came along thr google. Thank you
Feb 2, 2014 at 6:34 comment added xeo didn't work for me so i made a small tweak: return {"name": this.name, "value": 'off' }
May 27, 2013 at 10:26 review Suggested edits
May 27, 2013 at 10:29
Aug 18, 2011 at 14:03 history answered mydoghasworms CC BY-SA 3.0