I have some code that is broken in the latest version of chrome (32.0.1700.107). jQuery version is 1.10.1. This code has been running in other browsers for the last year. It does work correctly in IE8. The key section of code is below -
var stateWideCb = $('.showStatewide input');
stateWideCb.change(function () {
var b = $(this).is(':checked');
$('.showRegion input').attr('checked', b);
});
What happens is that after the first two clicks on the the Master checkbox, the code stops working.
You can see it at http://jsfiddle.net/photo_tom/dXczB/1/
$('.showStatewide input').on("click",function () { $('.showRegion input').prop('checked', this.checked);});attri- use with values in html on page load.prop- use when an element's 'state' is modified via js for example.