mihdan
12/2/2015 - 1:16 PM

auto triggering checked prop.js

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