$.propHooks.checked = { set: function(elem, value, name) { var ret = (elem[ name ] = value); $(elem).trigger("change"); return ret; } };