Checkboxes can be really weird in JS. You're best off checking for the presence of the checked
attribute. (I've had older jQuery versions return true even if checked
is set to 'false'.) Once you've determined that something is checked then you can get the value from the value
attribute.