function toggleCheckAllEventHandler() {
              var checked = true;
              $options.each(function () {
                if (!this.checked) {
                  checked = false;
                }
              });
              $options_all[0].checked = checked;
            }
/**
             * Toggle check all checkbox checked state.
             */
Toggle check all checkbox checked state.
Toggle check all checkbox checked state .
function toggleCheckAllEventHandler() {
              var checked = true;
              $options.each(function () {
                if (!this.checked) {
                  checked = false;
                }
              });
              $options_all[0].checked = checked;
            }
function toggleCheckAllEventHandler ( ) { var checked = true ; $options . each ( function ( ) { if ( ! this . checked ) { checked = false ; } } ) ; $options_all [ 0 ] . checked = checked ; }
Toggle check all checkbox checked state.
Toggle check all checkbox checked state .