jQuery Checkbox attr versus prop

This demo compares jQuery attr and prop. The checked attr will say if the checkbox is checked in design (checked or undefined); while the checked prop will say if the checkbox is currently checked (true or false).