Please use `$(checkbox).is(':checked')` which works better cross-browser.