docs: function toggleInputs(state, container) {
          var inputTags, j, len, i, inputs, nInputs;
          container = container || document;
          inputTags = ['button', 'select', 'textarea', 'input'];
          len = inputTags.length;
          for (j = 0; j < len; j++) {
              inputs = container.getElementsByTagName(inputTags[j]);
              nInputs = inputs.length;
              for (i = 0; i < nInputs; i++) {
                  // Set to state, or toggle.
                  if ('undefined' === typeof state) {
                      state = inputs[i].disabled ? false : true;
                  }
                  if (state) {
                      inputs[i].disabled = state;
                  }
                  else {
                      inputs[i].removeAttribute('disabled');
                  }
              }
          }
      }